Skip to content

Commit

Permalink
[clang/test] Add test for DIFlagAllCallsDescribed under -ggdb + -gdwa…
Browse files Browse the repository at this point in the history
…rf-4, NFC
  • Loading branch information
vedantk committed Mar 18, 2020
1 parent 1365ab4 commit 47622ef
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions clang/test/CodeGenCXX/dbg-info-all-calls-described.cpp
Expand Up @@ -22,6 +22,18 @@
// RUN: | FileCheck %s -check-prefix=HAS-ATTR \
// RUN: -implicit-check-not=DIFlagAllCallsDescribed

// Note: DIFlagAllCallsDescribed may have been enabled prematurely when tuning
// for GDB under -gdwarf-4 in https://reviews.llvm.org/D69743. It's possible
// this should have been 'Unsupported' until entry values emission was enabled
// by default.
//
// Supported: DWARF4 + GDB tuning
// RUN: %clang_cc1 -emit-llvm -triple x86_64-linux-gnu \
// RUN: %s -o - -O1 -disable-llvm-passes -debugger-tuning=gdb \
// RUN: -debug-info-kind=standalone -dwarf-version=4 \
// RUN: | FileCheck %s -check-prefix=HAS-ATTR \
// RUN: -implicit-check-not=DIFlagAllCallsDescribed

// Supported: DWARF4 + LLDB tuning by using '-femit-debug-entry-values'
// RUN: %clang_cc1 -femit-debug-entry-values -emit-llvm -triple x86_64-linux-gnu \
// RUN: %s -o - -O1 -disable-llvm-passes -debugger-tuning=lldb \
Expand Down

0 comments on commit 47622ef

Please sign in to comment.