[lld] r319780 - [ELF] Implement scanner for Cortex-A53 Erratum 843419
Rafael Avila de Espindola via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 15 06:59:31 PST 2017
Peter Smith via llvm-commits <llvm-commits at lists.llvm.org> writes:
> ==============================================================================
> --- lld/trunk/test/ELF/aarch64-cortex-a53-843419-thunk.s (added)
> +++ lld/trunk/test/ELF/aarch64-cortex-a53-843419-thunk.s Tue Dec 5 07:59:05 2017
> @@ -0,0 +1,44 @@
> +// REQUIRES: aarch64
> +// RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux %s -o %t.o
> +// RUN: echo "SECTIONS { \
> +// RUN: .text1 0x10000 : { *(.text.01) *(.text.02) *(.text.03) } \
> +// RUN: .text2 0x100000000 : { *(.text.04) } } " > %t.script
> +// RUN: ld.lld --script %t.script -fix-cortex-a53-843419 -verbose %t.o -o %t2 | FileCheck -check-prefix=CHECK-PRINT %s
BTW, %t2 is 4.1GB. I changed the test to delete it, but could it be made
smaller and still test the errata fix?
Cheers,
Rafael
More information about the llvm-commits
mailing list