[PATCH] D36587: Add NetBSD ASAN shadow mapping for x86-64

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 28 16:16:38 PDT 2017


krytarowski added a comment.

In https://reviews.llvm.org/D36587#854723, @eugenis wrote:

> Does NetBSD support non-PIE executables? Will they work with shadow at 0?


NetBSD supports PIE and non-PIE executables. The non-PIE ones are the default option on x86_64.

I'm going to execute tests with shadow at 0.

While there waiting for build.. is PIE required for tsan? If so, why?

https://github.com/llvm-mirror/compiler-rt/blob/master/lib/tsan/rtl/tsan_platform_posix.cc#L34
https://github.com/llvm-mirror/compiler-rt/blob/master/lib/tsan/rtl/tsan_platform_posix.cc#L119

I need also enlightening how to translate `struct Mapping` to NetBSD

https://github.com/llvm-mirror/compiler-rt/blob/master/lib/tsan/rtl/tsan_platform_posix.cc#L119


Repository:
  rL LLVM

https://reviews.llvm.org/D36587





More information about the llvm-commits mailing list