diff options
author | Georgii Rymar <grimar@accesssoftek.com> | 2019-12-13 17:02:03 +0300 |
---|---|---|
committer | Georgii Rymar <grimar@accesssoftek.com> | 2019-12-18 11:31:58 +0300 |
commit | f8dbb2c62f45a95f306a85410cb4f00c05c4bb0c (patch) | |
tree | 288cf37ade84e392c644848ac1c2524628ec8d24 /llvm/test/MC/ARM/elf-execute-only-section.ll | |
parent | 37b280805914f0bdb9e45d2be33d457a99220444 (diff) | |
download | bcm5719-llvm-f8dbb2c62f45a95f306a85410cb4f00c05c4bb0c.tar.gz bcm5719-llvm-f8dbb2c62f45a95f306a85410cb4f00c05c4bb0c.zip |
[llvm-readelf] - Change letters used for SHF_ARM_PURECODE and SHF_X86_64_LARGE flags.
GNU uses `l` for SHF_X86_64_LARGE and `y` for SHF_ARM_PURECODE.
Lets follow.
To do this I had to refactor and refine how we print the help flags description.
It was too generic and inconsistent with GNU readelf.
Differential revision: https://reviews.llvm.org/D71464
Diffstat (limited to 'llvm/test/MC/ARM/elf-execute-only-section.ll')
-rw-r--r-- | llvm/test/MC/ARM/elf-execute-only-section.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/MC/ARM/elf-execute-only-section.ll b/llvm/test/MC/ARM/elf-execute-only-section.ll index 555294b61a7..73b088fa410 100644 --- a/llvm/test/MC/ARM/elf-execute-only-section.ll +++ b/llvm/test/MC/ARM/elf-execute-only-section.ll @@ -5,8 +5,8 @@ ; RUN: llc < %s -mtriple=thumbv7m-eabi -mattr=+execute-only -filetype=obj %s -o - | \ ; RUN: llvm-readelf -S | FileCheck %s -; CHECK-NOT: {{.text[ ]+PROGBITS[ ]+[0-9]+ [0-9]+ [0-9]+ [0-9]+ AX[^p]}} -; CHECK: {{.text[ ]+PROGBITS[ ]+[0-9]+ [0-9]+ [0-9]+ [0-9]+ AXp}} +; CHECK-NOT: {{.text[ ]+PROGBITS[ ]+[0-9]+ [0-9]+ [0-9]+ [0-9]+ AX[^y]}} +; CHECK: {{.text[ ]+PROGBITS[ ]+[0-9]+ [0-9]+ [0-9]+ [0-9]+ AXy}} define void @test_func() { entry: ret void |