[PATCH] D148033: [LLD][ARM] Handle .ARM.exidx sections at non-zero output sec offset

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 03:05:16 PDT 2023


peter.smith updated this revision to Diff 513140.
peter.smith added a comment.

Address review comments:

- Use part.armExidx instead of config->emachine
- Tidy up white space in test.
- Add llvm-readelf --unwind output to test.

I noticed that llvm-readelf --unwind can't decode function names with the Thumb bit set although arm-none-eabi-readelf can. I've used CHECK rather than CHECK-NEXT just in case llvm-readelf --unwind output is improved.


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

https://reviews.llvm.org/D148033

Files:
  lld/ELF/SyntheticSections.cpp
  lld/ELF/Writer.cpp
  lld/test/ELF/arm-exidx-nonzero-offset.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148033.513140.patch
Type: text/x-patch
Size: 7666 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230413/564ff8c0/attachment.bin>


More information about the llvm-commits mailing list