This is an archive of the discontinued LLVM Phabricator instance.

[MSan] Implement __sanitizer_print_stack_trace().
ClosedPublic

Authored by earthdok on May 23 2014, 10:17 AM.

Details

Reviewers
eugenis

Diff Detail

Event Timeline

earthdok updated this revision to Diff 9766.May 23 2014, 10:17 AM
earthdok retitled this revision from to [MSan] Implement __sanitizer_print_stack_trace()..
earthdok updated this object.
earthdok edited the test plan for this revision. (Show Details)
earthdok added a reviewer: eugenis.
earthdok added a subscriber: Unknown Object (MLST).
samsonov added inline comments.
test/msan/print-stack-trace.cc
1 ↗(On Diff #9766)

This test should go to test/sanitizer_common/TestCases (and remove the same test case from ASan suite).

eugenis accepted this revision.May 26 2014, 5:36 AM
eugenis edited edge metadata.

LGTM w/ nit

test/msan/print-stack-trace.cc
1 ↗(On Diff #9766)

And when you do that, beware that on Mac (I think) stack trace line for main may have () after the function name. Or maybe not. Anyway, it's better to remove the space after main and before .*

This revision is now accepted and ready to land.May 26 2014, 5:36 AM
earthdok updated this revision to Diff 9804.May 26 2014, 5:56 AM
earthdok edited edge metadata.
  • move test to common
earthdok closed this revision.May 26 2014, 6:23 AM

Committed r209625

lib/msan/msan.cc