[PATCH] D74765: [compiler-rt] Addd FreeBSD arm64 sanitizer support

Andrew Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 18 06:52:37 PST 2020


andrew marked an inline comment as done.
andrew added inline comments.


================
Comment at: compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp:451-463
+# if defined(__aarch64__) || defined(__mips__)
+    // Variant I
+    //
+    // dtv = segbase[0];
+    // dtv[2] = base of TLS block of the main program
+    void **dtv = (void**) segbase[0];
+    if ((uptr) dtv[1] >= 2) {
----------------
This is from D49942


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74765/new/

https://reviews.llvm.org/D74765





More information about the llvm-commits mailing list