[PATCH] D40134: [asan] Add support for AArch64 ILP32
Szabolcs Nagy via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 26 08:05:19 PST 2018
nsz added inline comments.
================
Comment at: lib/sanitizer_common/sanitizer_linux.cc:1669-1686
+// glibc starting at 2.26 does not typedef sigcontext to mcontext_t,
+// but rather defines its own with internal reserved member with
+// different naming. The mcontext_t definition below is based on
+// Linux UAPI for sicontex_t.
+struct __sanitizer_mcontext_t {
+ unsigned long long int fault_address;
+ unsigned long long int regs[31];
----------------
this will be fixed in glibc, so the old code works.
https://reviews.llvm.org/D40134
More information about the llvm-commits
mailing list