
The new behavior matches GNU objdump. A pair of angle brackets makes tests slightly easier. `.foo:` is not unique and thus cannot be used in a `CHECK-LABEL:` directive. Without `-LABEL`, the CHECK line can match the `Disassembly of section` line and causes the next `CHECK-NEXT:` to fail. ``` Disassembly of section .foo: 0000000000001634 .foo: ``` Bdragon: <> has metalinguistic connotation. it just "feels right" Reviewed By: rupprecht Differential Revision: https://reviews.llvm.org/D75713
11 lines
387 B
Plaintext
11 lines
387 B
Plaintext
RUN: llvm-objdump -d %p/../Inputs/trivial-label-test.elf-x86-64 \
|
|
RUN: | FileCheck %s -check-prefix ELF-x86-64
|
|
|
|
ELF-x86-64: file format elf64-x86-64
|
|
ELF-x86-64: Disassembly of section .text:
|
|
ELF-x86-64: <foo>:
|
|
ELF-x86-64: 0: 90 nop
|
|
ELF-x86-64: <bum>:
|
|
ELF-x86-64: 1: 90 nop
|
|
|