~pali/llvm/compiler-rt-trunk

Viewing all changes in revision 10428.

  • Committer: eugenis
  • Date: 2018-08-16 23:17:14 UTC
  • Revision ID: svn-v4:91177308-0d34-0410-b5e6-96231b3b80d8:compiler-rt/trunk:339963
Revert "Revert "[hwasan] Add __hwasan_handle_longjmp.""

This reapplies commit r339935 with the following changes:
* make longjmp test C, not C++, to avoid dependency on libc++/libstdc++
* untag pointer in memset interceptor

x86_64 does not have TBI, so hwasan barely works there. Tests must be carefully
written in a way that does not leak tagged pointer to system libraries.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: