[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ELF / section-numeric-invalid-type.s
blobfefc364d9917b1b24a622ca4e2b83e41ef7bd1dd
1 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux-gnu %s -o - \
2 // RUN: | llvm-readobj -S --symbols - | FileCheck --check-prefix=OBJ %s
4 // RUN: not --crash llvm-mc -filetype=asm -triple=x86_64-pc-linux-gnu %s -o - 2>&1 \
5 // RUN: | FileCheck --check-prefix=ASM %s
7 .section .sec,"a",@0x7fffffff
9 // OBJ: Section {
10 // OBJ: Name: .sec
11 // OBJ-NEXT: Type: Unknown (0x7FFFFFFF)
12 // OBJ: }
14 // ASM: unsupported type 0x7fffffff for section .sec