Author: Vedant Kumar Date: 2020-03-18T15:24:13-07:00 New Revision: 47622efc6f01532ef1c23490f516efb9081827f8
URL: https://github.com/llvm/llvm-project/commit/47622efc6f01532ef1c23490f516efb9081827f8 DIFF: https://github.com/llvm/llvm-project/commit/47622efc6f01532ef1c23490f516efb9081827f8.diff LOG: [clang/test] Add test for DIFlagAllCallsDescribed under -ggdb + -gdwarf-4, NFC Added: Modified: clang/test/CodeGenCXX/dbg-info-all-calls-described.cpp Removed: ################################################################################ diff --git a/clang/test/CodeGenCXX/dbg-info-all-calls-described.cpp b/clang/test/CodeGenCXX/dbg-info-all-calls-described.cpp index 667c2469b55e..72caf119f869 100644 --- a/clang/test/CodeGenCXX/dbg-info-all-calls-described.cpp +++ b/clang/test/CodeGenCXX/dbg-info-all-calls-described.cpp @@ -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 \ _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits