Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(107)

Issue 6492085: ASan: Continue after error -- llvm

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by reidw
Modified:
11 years, 8 months ago
Reviewers:
kcc1
Base URL:
http://llvm.org/svn/llvm-project/llvm/trunk/
Visibility:
Public.

Description

Continue after an error in AddressSanitizer -- LLVM half.

Patch Set 1 : Keep Going in LLVM #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2 lines) Patch
lib/Transforms/Instrumentation/AddressSanitizer.cpp View 3 chunks +12 lines, -2 lines 2 comments Download

Messages

Total messages: 1
kcc1
11 years, 8 months ago (2012-09-06 13:26:31 UTC) #1
The patch is OK. 
Let's continue discussing if we really need the functionality...

https://codereview.appspot.com/6492085/diff/4001/lib/Transforms/Instrumentati...
File lib/Transforms/Instrumentation/AddressSanitizer.cpp (right):

https://codereview.appspot.com/6492085/diff/4001/lib/Transforms/Instrumentati...
lib/Transforms/Instrumentation/AddressSanitizer.cpp:502: if (!ClKeepGoing)
better two write 
  if (x) 
    if-true
  else
    if-false

https://codereview.appspot.com/6492085/diff/4001/lib/Transforms/Instrumentati...
lib/Transforms/Instrumentation/AddressSanitizer.cpp:769: if (ClKeepGoing)
better write something like 
  const char *ReportPrefix = ClKeepGoing ? 
      kAsanReportWarningTemplate: kAsanReportErrorTemplate
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b