diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-03-10 03:58:36 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-03-10 03:58:36 +0000 |
| commit | fcc28218827b226092e27c77b5700e1f3c9c71b6 (patch) | |
| tree | a2d5726662a6aba217559804ce59a24ca832505b /llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll | |
| parent | d45a3f1a030b4bdea0d02ab85d9ecebc55003904 (diff) | |
| download | bcm5719-llvm-fcc28218827b226092e27c77b5700e1f3c9c71b6.tar.gz bcm5719-llvm-fcc28218827b226092e27c77b5700e1f3c9c71b6.zip | |
Use a better name for compile unit labels.
They mark the start of a compile unit, so name them .Lcu_*. Using
Section->getLabelBeginName() makes it looks like they mark the start of the
section.
While at it, switch to createTempSymbol to avoid collisions with labels
created in inline assembly. Not sure if a "don't crash" test is worth it.
With this getLabelBeginName is dead, delete it.
llvm-svn: 231750
Diffstat (limited to 'llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll')
| -rw-r--r-- | llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll b/llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll index 76945f3fe4f..8e1c3c92448 100644 --- a/llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll +++ b/llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll @@ -50,10 +50,10 @@ ; DWARF3-NOT: file_names ; PR15408 -; ASM: L__DWARF__debug_info_begin0: +; ASM: Lcu_begin0: ; ASM: Lset3 = Lline_table_start0-Lsection_line ## DW_AT_stmt_list ; ASM-NEXT: .long Lset3 -; ASM: L__DWARF__debug_info_begin1: +; ASM: Lcu_begin1: ; ASM: Lset13 = Lline_table_start0-Lsection_line ## DW_AT_stmt_list ; ASM-NEXT: .long Lset13 define i32 @test(i32 %a) nounwind uwtable ssp { |

