[llvm] c7923e7 - [mips] Reorganize check directives in the test. NFC
Simon Atanasyan via llvm-commits
llvm-commits at lists.llvm.org
Thu May 21 10:58:16 PDT 2020
Author: Simon Atanasyan
Date: 2020-05-21T20:57:04+03:00
New Revision: c7923e7705d0dad0bf2babd619ae211bebc2c5fa
URL: https://github.com/llvm/llvm-project/commit/c7923e7705d0dad0bf2babd619ae211bebc2c5fa
DIFF: https://github.com/llvm/llvm-project/commit/c7923e7705d0dad0bf2babd619ae211bebc2c5fa.diff
LOG: [mips] Reorganize check directives in the test. NFC
Added:
Modified:
llvm/test/DebugInfo/Mips/eh_frame.ll
Removed:
################################################################################
diff --git a/llvm/test/DebugInfo/Mips/eh_frame.ll b/llvm/test/DebugInfo/Mips/eh_frame.ll
index 67d59837aa22..a71ae61f3e63 100644
--- a/llvm/test/DebugInfo/Mips/eh_frame.ll
+++ b/llvm/test/DebugInfo/Mips/eh_frame.ll
@@ -1,22 +1,35 @@
-; RUN: llc -mtriple mips-unknown-linux-gnu -mattr=+micromips -relocation-model=static -O3 -filetype=obj -o - %s | \
-; RUN: llvm-readelf -r | FileCheck %s --check-prefixes=CHECK-READELF,CHECK-READELF-STATIC
-; RUN: llc -mtriple mips-unknown-linux-gnu -mattr=+micromips -relocation-model=pic -O3 -filetype=obj -o - %s | \
-; RUN: llvm-readelf -r | FileCheck %s --check-prefixes=CHECK-READELF,CHECK-READELF-PIC
-; RUN: llc -mtriple mips-unknown-linux-gnu -mattr=+micromips -relocation-model=static -O3 -filetype=obj -o - %s | \
-; RUN: llvm-objdump -s -j .gcc_except_table - | FileCheck %s --check-prefix=CHECK-EXCEPT-TABLE-STATIC
-; RUN: llc -mtriple mips-unknown-linux-gnu -mattr=+micromips -relocation-model=pic -O3 -filetype=obj -o - %s | \
-; RUN: llvm-objdump -s -j .gcc_except_table - | FileCheck %s --check-prefix=CHECK-EXCEPT-TABLE-PIC
-
-; CHECK-READELF: .rel.eh_frame
+; RUN: llc -mtriple mips-unknown-linux-gnu -mattr=+micromips \
+; RUN: -relocation-model=static -O3 -filetype=obj -o - %s | \
+; RUN: llvm-readelf -r | FileCheck %s --check-prefixes=STATIC
+; RUN: llc -mtriple mips-unknown-linux-gnu -mattr=+micromips \
+; RUN: -relocation-model=pic -O3 -filetype=obj -o - %s | \
+; RUN: llvm-readelf -r | FileCheck %s --check-prefixes=PIC
+; RUN: llc -mtriple mips-unknown-linux-gnu -mattr=+micromips \
+; RUN: -relocation-model=static -O3 -filetype=obj -o - %s | \
+; RUN: llvm-objdump -s -j .gcc_except_table - | FileCheck %s --check-prefix=EXCEPT-TABLE-STATIC
+; RUN: llc -mtriple mips-unknown-linux-gnu -mattr=+micromips \
+; RUN: -relocation-model=pic -O3 -filetype=obj -o - %s | \
+; RUN: llvm-objdump -s -j .gcc_except_table - | FileCheck %s --check-prefix=EXCEPT-TABLE-PIC
+
+; STATIC-LABEL: Relocation section '.rel.eh_frame'
+; STATIC-DAG: R_MIPS_32 00000000 DW.ref.__gxx_personality_v0
+; STATIC-DAG: R_MIPS_32 00000000 .text
+; STATIC-DAG: R_MIPS_32 00000000 .gcc_except_table
+
+; PIC-LABEL: Relocation section '.rel.eh_frame'
+; PIC-DAG: R_MIPS_32 00000000 DW.ref.__gxx_personality_v0
+; PIC-DAG: R_MIPS_PC32
+; PIC-DAG: R_MIPS_32 00000000 .gcc_except_table
+
; CHECK-READELF: DW.ref.__gxx_personality_v0
; CHECK-READELF-STATIC-NEXT: R_MIPS_32 00000000 .text
; CHECK-READELF-PIC-NEXT: R_MIPS_PC32
; CHECK-READELF-NEXT: .gcc_except_table
-; CHECK-EXCEPT-TABLE-STATIC: 0000 ff9b1501 0c011500 00150e23 01231e00 ...........#.#..
-; CHECK-EXCEPT-TABLE-STATIC: 0010 00010000 00000000
-; CHECK-EXCEPT-TABLE-PIC: 0000 ff9b1501 0c012d00 002d133f 013f2a00 ......-..-.?.?*.
-; CHECK-EXCEPT-TABLE-PIC: 0010 00010000 00000000 ........
+; EXCEPT-TABLE-STATIC: 0000 ff9b1501 0c011500 00150e23 01231e00 ...........#.#..
+; EXCEPT-TABLE-STATIC: 0010 00010000 00000000
+; EXCEPT-TABLE-PIC: 0000 ff9b1501 0c012d00 002d133f 013f2a00 ......-..-.?.?*.
+; EXCEPT-TABLE-PIC: 0010 00010000 00000000 ........
@_ZTIi = external constant i8*
More information about the llvm-commits
mailing list