summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86/dwarf-aranges.ll
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-10-21 01:17:30 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-10-21 01:17:30 +0000
commitc606bfe6600a64be3f99d0b420946de004c57a57 (patch)
tree1aad2f80e0b25b29f2bfb9aab827822d06b60b75 /llvm/test/DebugInfo/X86/dwarf-aranges.ll
parentf60e0a160fc8db67461bcb930924f60a7dccb9be (diff)
downloadbcm5719-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/dwarf-aranges.ll')
-rw-r--r--llvm/test/DebugInfo/X86/dwarf-aranges.ll9
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/test/DebugInfo/X86/dwarf-aranges.ll b/llvm/test/DebugInfo/X86/dwarf-aranges.ll
index e3d6f5cea5e..237e418b4ee 100644
--- a/llvm/test/DebugInfo/X86/dwarf-aranges.ll
+++ b/llvm/test/DebugInfo/X86/dwarf-aranges.ll
@@ -15,18 +15,15 @@
; <data section> - it should have made one span covering all vars in this CU.
; CHECK-NEXT: .quad some_data
-; CHECK-NEXT: [[R1:\.[A-Za-z0-9]*]] = .Ldebug_end1-some_data
-; CHECK-NEXT: .quad [[R1]]
+; CHECK-NEXT: .quad .Ldebug_end1-some_data
; <text section> - it should have made one span covering all functions in this CU.
; CHECK-NEXT: .quad .Lfunc_begin0
-; CHECK-NEXT: [[R2:\.[A-Za-z0-9]*]] = .Ldebug_end2-.Lfunc_begin0
-; CHECK-NEXT: .quad [[R2]]
+; CHECK-NEXT: .quad .Ldebug_end2-.Lfunc_begin0
; <other sections> - it should have made one span covering all vars in this CU.
; CHECK-NEXT: .quad some_other
-; CHECK-NEXT: [[R3:\.[A-Za-z0-9]*]] = .Ldebug_end3-some_other
-; CHECK-NEXT: .quad [[R3]]
+; CHECK-NEXT: .quad .Ldebug_end3-some_other
; -- finish --
; CHECK-NEXT: # ARange terminator
OpenPOWER on IntegriCloud