[PATCH] D139953: [llvm][DebugInfo] Backport DW_AT_default_value for template args
Michael Buch via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 14 17:30:26 PST 2022
Michael137 added inline comments.
================
Comment at: clang/test/CodeGenCXX/debug-info-template-parameter.cpp:7
// RUN: %clang_cc1 -emit-llvm %std_cxx17- -dwarf-version=4 -triple x86_64 %s -O0 -disable-llvm-passes -debug-info-kind=standalone -o - | FileCheck %s --check-prefixes=CHECK,CXX17
+// RUN: %clang_cc1 %std_cxx17- -dwarf-version=4 -gstrict-dwarf -triple x86_64 %s -O0 -disable-llvm-passes -debug-info-kind=standalone -emit-obj -o - %s | llvm-dwarfdump --debug-info - | FileCheck %s --check-prefixes=DWARF-DUMP,STRICT
+// RUN: %clang_cc1 %std_cxx17- -dwarf-version=4 -triple x86_64 %s -O0 -disable-llvm-passes -debug-info-kind=standalone -emit-obj -o - %s | llvm-dwarfdump --debug-info - | FileCheck %s --check-prefixes=DWARF-DUMP,DWARFv4
----------------
chapuni wrote:
> llvm-dwarfdump fails if x86 is unconfigured.
I suppose we could just stop passing the triple explicitly
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139953/new/
https://reviews.llvm.org/D139953
More information about the llvm-commits
mailing list