diff options
Diffstat (limited to 'llvm/test/DebugInfo/Generic/nodebug.ll')
-rw-r--r-- | llvm/test/DebugInfo/Generic/nodebug.ll | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/test/DebugInfo/Generic/nodebug.ll b/llvm/test/DebugInfo/Generic/nodebug.ll index 6f20aecaaf5..7aafc8d5fa1 100644 --- a/llvm/test/DebugInfo/Generic/nodebug.ll +++ b/llvm/test/DebugInfo/Generic/nodebug.ll @@ -16,10 +16,8 @@ ; f1(); ; } -; 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 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-NOT: DW_TAG_subprogram @i = external global i32 |