summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ARM/elf-execute-only-section.ll
diff options
context:
space:
mode:
authorGeorgii Rymar <grimar@accesssoftek.com>2019-12-13 17:02:03 +0300
committerGeorgii Rymar <grimar@accesssoftek.com>2019-12-18 11:31:58 +0300
commitf8dbb2c62f45a95f306a85410cb4f00c05c4bb0c (patch)
tree288cf37ade84e392c644848ac1c2524628ec8d24 /llvm/test/MC/ARM/elf-execute-only-section.ll
parent37b280805914f0bdb9e45d2be33d457a99220444 (diff)
downloadbcm5719-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.ll4
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
OpenPOWER on IntegriCloud