summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2019-11-08 15:26:17 -0800
committerDavid Blaikie <dblaikie@gmail.com>2019-11-08 15:30:11 -0800
commit736273c7fe3e88baf548cd555f21eb123f81381d (patch)
treef35020c55f281f944bd24a95a4ef63ee73939169 /llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll
parent6278fba9b11751b97c6091049341c51226c5b434 (diff)
downloadbcm5719-llvm-736273c7fe3e88baf548cd555f21eb123f81381d.tar.gz
bcm5719-llvm-736273c7fe3e88baf548cd555f21eb123f81381d.zip
DebugInfo: Do not create a debug_macinfo section if no CUs have associated macros
Patch based on Sourabh Singh's D69839 patch.
Diffstat (limited to 'llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll')
-rw-r--r--llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll b/llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll
index cb18ffe64af..d1a9a3df156 100644
--- a/llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll
+++ b/llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll
@@ -470,6 +470,5 @@ attributes #2 = { "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "n
; CHECK-NEXT: .b8 4 // DW_AT_byte_size
; CHECK-NEXT: .b8 0 // End Of Children Mark
; CHECK-NEXT: }
-; CHECK-NEXT: .section .debug_macinfo
-; CHECK-NEXT: {
-; CHECK-NEXT: }
+; CHECK-NEXT: .section .debug_loc { }
+; CHECK-NOT: debug_
OpenPOWER on IntegriCloud