[lld] r319780 - [ELF] Implement scanner for Cortex-A53 Erratum 843419

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 15 07:12:32 PST 2017


>> +// 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

Yes it can, I'll update the test to use .text2 0x8010000 : {
*(.text.04) } } , that takes the size down to 128 Mb.

Peter


More information about the llvm-commits mailing list