This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] Changing function prototype returning unused value
ClosedPublic

Authored by etienneb on Sep 14 2016, 9:06 AM.

Diff Detail

Event Timeline

etienneb updated this revision to Diff 71370.Sep 14 2016, 9:06 AM
etienneb retitled this revision from to [compiler-rt] Changing function prototype returning unused value.
etienneb updated this object.
etienneb added a reviewer: rnk.
etienneb added subscribers: chrisha, llvm-commits.
rnk added inline comments.Sep 14 2016, 9:09 AM
lib/Transforms/Instrumentation/AddressSanitizer.cpp
1891

I think the correct fix is to OR this into a bool like res below and return that instead of false.

etienneb updated this revision to Diff 71391.Sep 14 2016, 10:40 AM

fix runFunction semantic (rnk comment)

lib/Transforms/Instrumentation/AddressSanitizer.cpp
1891

ok. I moved to your semantic.
I wasn't aware that runFunction should return true when modified.

rnk accepted this revision.Sep 14 2016, 10:44 AM
rnk edited edge metadata.

looks good with right naming convention

lib/Transforms/Instrumentation/AddressSanitizer.cpp
1888

We're back in LLVM, we should follow LLVM conventiosn, not Google style. =P

This revision is now accepted and ready to land.Sep 14 2016, 10:44 AM
etienneb updated this revision to Diff 71393.Sep 14 2016, 10:47 AM
etienneb marked an inline comment as done.
etienneb edited edge metadata.

fix naming

lib/Transforms/Instrumentation/AddressSanitizer.cpp
1888

I'm having too many personalities now!

etienneb closed this revision.Sep 15 2016, 8:53 AM