[PATCH] D42644: [asan] Intercept std::rethrow_exception indirectly.

Kamil Rytarowski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 27 09:17:37 PST 2018


krytarowski added a comment.

This looks like broke ASan on NetBSD:

  $ sh ./projects/compiler-rt/test/sanitizer_common/asan-i386-NetBSD/NetBSD/Output/ttyent.cc.script
  /usr/lib/i386/libgcc.a(unwind-dw2.o): In function `_Unwind_RaiseException':
  unwind-dw2.c:(.text+0x1b41): multiple definition of `_Unwind_RaiseException'
  /public/llvm-build/lib/clang/7.0.0/lib/netbsd/libclang_rt.asan-i386.a(asan_interceptors.cc.o):/public/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cc:337: first defined here
  clang-7.0: error: linker command failed with exit code 1 (use -v to see invocation)

Investigating.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D42644





More information about the cfe-commits mailing list