summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/Inputs/gmlt.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/DebugInfo/Inputs/gmlt.ll')
-rw-r--r--llvm/test/DebugInfo/Inputs/gmlt.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/Inputs/gmlt.ll b/llvm/test/DebugInfo/Inputs/gmlt.ll
index dc02e77909f..b6df50109ff 100644
--- a/llvm/test/DebugInfo/Inputs/gmlt.ll
+++ b/llvm/test/DebugInfo/Inputs/gmlt.ll
@@ -76,6 +76,12 @@
; CHECK-NOT: {{DW_TAG|DW_AT}}
; CHECK: NULL
+; PROFILING: DW_TAG_subprogram
+; PROFILING: DW_AT_name {{.*}} "f1"
+; With -debug-info-for-profiling, we need to emit decl_file a-nd decl_line
+; of the subprogram.
+; PROFILING: DW_AT_decl_file
+; PROFILING: DW_AT_decl_line
; CHECK: .debug_ranges contents:
OpenPOWER on IntegriCloud