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

Issue 6587082: tsan: instrument atomic rmw/cas/fence instructions (Closed)

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

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+1540 lines, -8 lines) Patch
M lib/Transforms/Instrumentation/ThreadSanitizer.cpp View 4 chunks +76 lines, -8 lines 3 comments Download
M test/Instrumentation/ThreadSanitizer/atomic.ll View 5 chunks +1464 lines, -0 lines 0 comments Download

Messages

Total messages: 4
kcc1
LGTM https://codereview.appspot.com/6587082/diff/1/lib/Transforms/Instrumentation/ThreadSanitizer.cpp File lib/Transforms/Instrumentation/ThreadSanitizer.cpp (right): https://codereview.appspot.com/6587082/diff/1/lib/Transforms/Instrumentation/ThreadSanitizer.cpp#newcode177 lib/Transforms/Instrumentation/ThreadSanitizer.cpp:177: NamePart = "_fetch_and"; _fetch_and appears twice
11 years, 7 months ago (2012-10-04 10:25:47 UTC) #1
dvyukov
https://codereview.appspot.com/6587082/diff/1/lib/Transforms/Instrumentation/ThreadSanitizer.cpp File lib/Transforms/Instrumentation/ThreadSanitizer.cpp (right): https://codereview.appspot.com/6587082/diff/1/lib/Transforms/Instrumentation/ThreadSanitizer.cpp#newcode177 lib/Transforms/Instrumentation/ThreadSanitizer.cpp:177: NamePart = "_fetch_and"; On 2012/10/04 10:25:47, kcc1 wrote: > ...
11 years, 7 months ago (2012-10-04 10:30:00 UTC) #2
dvyukov
FTR, here is the test generator: package main import ( "fmt" "os" "text/template" ) func ...
11 years, 7 months ago (2012-10-04 10:30:18 UTC) #3
kcc1
11 years, 7 months ago (2012-10-04 10:33:02 UTC) #4
https://codereview.appspot.com/6587082/diff/1/lib/Transforms/Instrumentation/...
File lib/Transforms/Instrumentation/ThreadSanitizer.cpp (right):

https://codereview.appspot.com/6587082/diff/1/lib/Transforms/Instrumentation/...
lib/Transforms/Instrumentation/ThreadSanitizer.cpp:177: NamePart = "_fetch_and";
my bad. ignore this
Sign in to reply to this message.

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