diff options
Diffstat (limited to 'llvm/test/DebugInfo/Generic/nodebug.ll')
-rw-r--r-- | llvm/test/DebugInfo/Generic/nodebug.ll | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/test/DebugInfo/Generic/nodebug.ll b/llvm/test/DebugInfo/Generic/nodebug.ll index 7aafc8d5fa1..6f20aecaaf5 100644 --- a/llvm/test/DebugInfo/Generic/nodebug.ll +++ b/llvm/test/DebugInfo/Generic/nodebug.ll @@ -16,8 +16,10 @@ ; f1(); ; } -; Check that there is no DW_TAG_subprogram, nothing for the 'f2' function. -; Note: No debug info was emitted for 'f1' function because it has no code. +; Check that there's only one DW_TAG_subprogram, nothing for the 'f2' function. +; CHECK: DW_TAG_subprogram +; CHECK-NOT: DW_TAG +; CHECK: DW_AT_name {{.*}} "f1" ; CHECK-NOT: DW_TAG_subprogram @i = external global i32 |