[PATCH] D147763: [ARM] Align code to 4-byte boundary after .arm directive

Antonio Abbatangelo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 10 21:11:50 PDT 2023


antangelo updated this revision to Diff 512330.
antangelo added a comment.

Fixed arm-fix-cortex-a8-nopatch test cases, added back a check in -recognized that was accidentally removed

I changed the offsets around the .arm directive such that the instruction offsets are the same as before this patch.
The only exception is that the target5 label has moved slightly, but it is still in region 1, so the test case should
be valid now to my knowledge.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147763

Files:
  lld/test/ELF/arm-bl-v4t.s
  lld/test/ELF/arm-bl-v6-inrange.s
  lld/test/ELF/arm-fix-cortex-a8-nopatch.s
  lld/test/ELF/arm-fix-cortex-a8-recognize.s
  lld/test/ELF/arm-thunk-multipass.s
  llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  llvm/test/MC/ARM/directive-arch-mode-switch.s
  llvm/test/MC/ARM/misaligned-blx.s
  llvm/test/MC/ARM/thumb-function-address.s
  llvm/test/MC/ARM/thumb-types.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147763.512330.patch
Type: text/x-patch
Size: 8595 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230411/b5bc8a62/attachment-0001.bin>


More information about the llvm-commits mailing list