summaryrefslogtreecommitdiff
path: root/test/tools/llvm-readobj/ARM/unwind.s
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-01-09 04:31:18 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-01-09 04:31:18 +0000
commit3ca4db23ed3bf1798e238722319633e07ed39f44 (patch)
treef572a2d90a64717d0698c6ff87ed3f3a124f1088 /test/tools/llvm-readobj/ARM/unwind.s
parentfe097bffa73ee232ed23ce503a352556674aa4f3 (diff)
llvm-readobj: address review comments for ARM EHABI printing
Rename bytecode to opcodes to make it more clear. Change an impossible case to llvm_unreachable instead. Avoid allocation of a buffer by modifying the PrintOpcodes iteration. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198848 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tools/llvm-readobj/ARM/unwind.s')
-rw-r--r--test/tools/llvm-readobj/ARM/unwind.s54
1 files changed, 27 insertions, 27 deletions
diff --git a/test/tools/llvm-readobj/ARM/unwind.s b/test/tools/llvm-readobj/ARM/unwind.s
index 7d23a05f1ad..76068248bb1 100644
--- a/test/tools/llvm-readobj/ARM/unwind.s
+++ b/test/tools/llvm-readobj/ARM/unwind.s
@@ -91,10 +91,10 @@ function2:
@ CHECK: FunctionName: __personality
@ CHECK: Model: Compact (Inline)
@ CHECK: PersonalityIndex: 0
-@ CHECK: ByteCode [
-@ CHECK: Instruction: 0xB0
-@ CHECK: Instruction: 0xB0
-@ CHECK: Instruction: 0xB0
+@ CHECK: Opcodes [
+@ CHECK: Opcode: 0xB0
+@ CHECK: Opcode: 0xB0
+@ CHECK: Opcode: 0xB0
@ CHECK: ]
@ CHECK: }
@ CHECK: ]
@@ -107,10 +107,10 @@ function2:
@ CHECK: FunctionName: personality0
@ CHECK: Model: Compact (Inline)
@ CHECK: PersonalityIndex: 0
-@ CHECK: ByteCode [
-@ CHECK: Instruction: 0xB0
-@ CHECK: Instruction: 0xB0
-@ CHECK: Instruction: 0xB0
+@ CHECK: Opcodes [
+@ CHECK: Opcode: 0xB0
+@ CHECK: Opcode: 0xB0
+@ CHECK: Opcode: 0xB0
@ CHECK: ]
@ CHECK: }
@ CHECK: ]
@@ -125,13 +125,13 @@ function2:
@ CHECK: TableEntryOffset: 0x0
@ CHECK: Model: Compact
@ CHECK: PersonalityIndex: 1
-@ CHECK: ByteCode [
-@ CHECK: Instruction: 0xB1
-@ CHECK: Instruction: 0xF
-@ CHECK: Instruction: 0xA7
-@ CHECK: Instruction: 0x3F
-@ CHECK: Instruction: 0xB0
-@ CHECK: Instruction: 0xB0
+@ CHECK: Opcodes [
+@ CHECK: Opcode: 0xB1
+@ CHECK: Opcode: 0xF
+@ CHECK: Opcode: 0xA7
+@ CHECK: Opcode: 0x3F
+@ CHECK: Opcode: 0xB0
+@ CHECK: Opcode: 0xB0
@ CHECK: ]
@ CHECK: }
@ CHECK: ]
@@ -157,10 +157,10 @@ function2:
@ CHECK: FunctionName: opcodes
@ CHECK: Model: Compact (Inline)
@ CHECK: PersonalityIndex: 0
-@ CHECK: ByteCode [
-@ CHECK: Instruction: 0xC9
-@ CHECK: Instruction: 0x84
-@ CHECK: Instruction: 0xB0
+@ CHECK: Opcodes [
+@ CHECK: Opcode: 0xC9
+@ CHECK: Opcode: 0x84
+@ CHECK: Opcode: 0xB0
@ CHECK: ]
@ CHECK: }
@ CHECK: ]
@@ -173,10 +173,10 @@ function2:
@ CHECK: FunctionName: function0
@ CHECK: Model: Compact (Inline)
@ CHECK: PersonalityIndex: 0
-@ CHECK: ByteCode [
-@ CHECK: Instruction: 0xB0
-@ CHECK: Instruction: 0xB0
-@ CHECK: Instruction: 0xB0
+@ CHECK: Opcodes [
+@ CHECK: Opcode: 0xB0
+@ CHECK: Opcode: 0xB0
+@ CHECK: Opcode: 0xB0
@ CHECK: ]
@ CHECK: }
@ CHECK: Entry {
@@ -191,10 +191,10 @@ function2:
@ CHECK: FunctionName: function2
@ CHECK: Model: Compact (Inline)
@ CHECK: PersonalityIndex: 0
-@ CHECK: ByteCode [
-@ CHECK: Instruction: 0xB0
-@ CHECK: Instruction: 0xB0
-@ CHECK: Instruction: 0xB0
+@ CHECK: Opcodes [
+@ CHECK: Opcode: 0xB0
+@ CHECK: Opcode: 0xB0
+@ CHECK: Opcode: 0xB0
@ CHECK: ]
@ CHECK: }
@ CHECK: ]