mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
58e7056c0b
The .end directive indicates the end of the file. No further instructions are processed after a .end directive is encountered. One potential (glaringly obvious) optimisation that could be pursued here is to extend MCAsmParser with a DiscardRemainder method to avoid processing lexemes to the end of the file. It was unclear at this point if that would be worth adding, and could easily be added in a follow on change. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org> llvm-svn: 197547
12 lines
192 B
ArmAsm
12 lines
192 B
ArmAsm
# RUN: llvm-mc -triple i386-unknown-unknown %s -filetype obj -o - \
|
|
# RUN: | llvm-readobj -t | FileCheck %s
|
|
|
|
.end
|
|
|
|
its_a_tarp:
|
|
int $0x3
|
|
|
|
# CHECK: Symbol {
|
|
# CHECK-NOT: Name: its_a_tarp
|
|
|