diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-10-21 01:17:30 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-10-21 01:17:30 +0000 |
commit | c606bfe6600a64be3f99d0b420946de004c57a57 (patch) | |
tree | 1aad2f80e0b25b29f2bfb9aab827822d06b60b75 /llvm/test/DebugInfo/X86/multiple-aranges.ll | |
parent | f60e0a160fc8db67461bcb930924f60a7dccb9be (diff) | |
download | bcm5719-llvm-c606bfe6600a64be3f99d0b420946de004c57a57.tar.gz bcm5719-llvm-c606bfe6600a64be3f99d0b420946de004c57a57.zip |
Fix a bit of confusion about .set and produce more readable assembly.
Every target we support has support for assembly that looks like
a = b - c
.long a
What is special about MachO is that the above combination suppresses the
production of a relocation.
With this change we avoid producing the intermediary labels when they don't
add any value.
llvm-svn: 220256
Diffstat (limited to 'llvm/test/DebugInfo/X86/multiple-aranges.ll')
-rw-r--r-- | llvm/test/DebugInfo/X86/multiple-aranges.ll | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/DebugInfo/X86/multiple-aranges.ll b/llvm/test/DebugInfo/X86/multiple-aranges.ll index 6d796dcef59..47eef2d6cd7 100644 --- a/llvm/test/DebugInfo/X86/multiple-aranges.ll +++ b/llvm/test/DebugInfo/X86/multiple-aranges.ll @@ -8,8 +8,7 @@ ; CHECK-NEXT: .byte 0 # Segment Size (in bytes) ; CHECK-NEXT: .zero 4,255 ; CHECK-NEXT: .quad kittens -; CHECK-NEXT: .Lset0 = rainbows-kittens -; CHECK-NEXT: .quad .Lset0 +; CHECK-NEXT: .quad rainbows-kittens ; CHECK-NEXT: .quad 0 # ARange terminator ; CHECK-NEXT: .quad 0 @@ -21,8 +20,7 @@ ; CHECK-NEXT: .byte 0 # Segment Size (in bytes) ; CHECK-NEXT: .zero 4,255 ; CHECK-NEXT: .quad rainbows -; CHECK-NEXT: .Lset1 = .Ldebug_end0-rainbows -; CHECK-NEXT: .quad .Lset1 +; CHECK-NEXT: .quad .Ldebug_end0-rainbows ; CHECK-NEXT: .quad 0 # ARange terminator ; CHECK-NEXT: .quad 0 |