summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86/dwarf-aranges.ll
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-03-17 20:07:06 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-03-17 20:07:06 +0000
commit9ab09237dcfedb123340676d75e59821dac35513 (patch)
tree435f70f63ffcd0c9e9232b6fd186f46aec16461e /llvm/test/DebugInfo/X86/dwarf-aranges.ll
parent0641ca1a2dc2d4923ee702651aab2a9704d563b5 (diff)
downloadbcm5719-llvm-9ab09237dcfedb123340676d75e59821dac35513.tar.gz
bcm5719-llvm-9ab09237dcfedb123340676d75e59821dac35513.zip
Centralize the handling of unique ids for temporary labels.
Before this patch code wanting to create temporary labels for a given entity (function, cu, exception range, etc) had to keep its own counter to have stable symbol names. createTempSymbol would still add a suffix to make sure a new symbol was always returned, but it kept a single counter. Because of that, if we were to use just createTempSymbol("cu_begin"), the label could change from cu_begin42 to cu_begin43 because some other code started using temporary labels. Simplify this by just keeping one counter per prefix and removing the various specialized counters. llvm-svn: 232535
Diffstat (limited to 'llvm/test/DebugInfo/X86/dwarf-aranges.ll')
-rw-r--r--llvm/test/DebugInfo/X86/dwarf-aranges.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/X86/dwarf-aranges.ll b/llvm/test/DebugInfo/X86/dwarf-aranges.ll
index 56acbdf428a..701da1fce64 100644
--- a/llvm/test/DebugInfo/X86/dwarf-aranges.ll
+++ b/llvm/test/DebugInfo/X86/dwarf-aranges.ll
@@ -23,7 +23,7 @@
; <text section> - it should have made one span covering all functions in this CU.
; CHECK-NEXT: .quad .Lfunc_begin0
-; CHECK-NEXT: .quad .Ldebug_end3-.Lfunc_begin0
+; CHECK-NEXT: .quad .Ldebug_end2-.Lfunc_begin0
; -- finish --
; CHECK-NEXT: # ARange terminator
OpenPOWER on IntegriCloud