[PATCH] D36742: [LLD][ELF][AArch64] Implement scanner for Cortex-A53 Erratum 843419

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 4 09:35:58 PST 2017


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

Updated and rebased after addition of range-extension thunks for aarch64.

- The erratum scanning is now done within the same loop as range extension thunks.
- Added a new test case of an erratum sequence that will only be detected on the second pass. As the scanner only detects patches and doesn't try and fix them we cannot test the case where a new thunk is required due to a patch being added.


https://reviews.llvm.org/D36742

Files:
  ELF/AArch64ErrataFix.cpp
  ELF/AArch64ErrataFix.h
  ELF/CMakeLists.txt
  ELF/Config.h
  ELF/Driver.cpp
  ELF/Options.td
  ELF/Writer.cpp
  test/ELF/aarch64-cortex-a53-843419-address.s
  test/ELF/aarch64-cortex-a53-843419-cli.s
  test/ELF/aarch64-cortex-a53-843419-nopatch.s
  test/ELF/aarch64-cortex-a53-843419-recognize.s
  test/ELF/aarch64-cortex-a53-843419-thunk.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36742.125355.patch
Type: text/x-patch
Size: 52161 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171204/f7bec8cf/attachment.bin>


More information about the llvm-commits mailing list