This is an archive of the discontinued LLVM Phabricator instance.

Update and improve compiler-rt tests for -mllvm -asan_use_after_return=(never|[runtime]|always).
AbandonedPublic

Authored by kda on Jun 4 2021, 12:57 PM.

Details

Reviewers
delcypher
Summary

In addition:

  • optionally add global flag to capture compile intent for UAR: __asan_detect_use_after_return_always. The global is a SANITIZER_WEAK_ATTRIBUTE.
  • Add to weak_symbols.txt. (fixes breakage on macOS)

for issue: https://github.com/google/sanitizers/issues/1394

Diff Detail

Event Timeline

kda requested review of this revision.Jun 4 2021, 12:57 PM
kda created this revision.
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 4 2021, 12:57 PM
Herald added subscribers: llvm-commits, Restricted Project. · View Herald Transcript

Can we reuse the old https://reviews.llvm.org/D103304? It will make it easier to see the patch history.

You may have to reopen the patch in order to push new diffs.

kda abandoned this revision.Jun 4 2021, 1:07 PM