[PATCH] D77858: [llvm-xray] Add llvm-xray extract support for 32 bit ARM
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 13 11:53:03 PDT 2020
MaskRay added a comment.
If you configure LLVM with `-DLLVM_ENABLE_ASSERTIONS=on` (default if -DCMAKE_BUILD_TYPE=Debug), you shall notice an assertion failure. This is because the existing ELF targets llvm-xray supports are all RELA targets. EM_ARM uses REL and llvm-xray did not consider the case. This requires a relocation fix in `llvm/lib/XRay/InstrumentationMap.cpp`
If you don't mind, I can take over the patch and try to fix the problem in my spare time.
Out of curiosity, I want to hear about your use cases on EM_ARM :)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77858/new/
https://reviews.llvm.org/D77858
More information about the llvm-commits
mailing list