[PATCH] D29586: [lsan] Enable LSan for arm Linux
Maxim Ostapenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 17 04:13:21 PST 2017
m.ostapenko added a comment.
In https://reviews.llvm.org/D29586#679711, @ygribov wrote:
> One option is to force libasan and tests to compile to ARM (via `-marm` switch) which is known to work. I think common understanding is that fast unwinder is unfixable in Thumb mode.
I'm afraid this isn't enough, consider two following cases:
1. If LSan itself is compiled with Thumb fast unwinder would be unable to leave first frame.
2. Likewise, if LSan is compiled with GCC 4.8, fast unwinder would be unable to leave first frame due to __interceptor_malloc's frame doesn't contain saved fp (see objdump output several comments above).
Repository:
rL LLVM
https://reviews.llvm.org/D29586
More information about the llvm-commits
mailing list