[clang] [clang][PCH] Don't try to create standalone debug-info for types marked nodebug (PR #123253)

Michael Buch via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 16 15:15:19 PST 2025


================
@@ -0,0 +1,12 @@
+// RUN: %clang_cc1 -std=c++23 -x c++-header -emit-pch -fmodule-format=obj \
+// RUN:   -o %t.pch %s \
+// RUN:   -mllvm -debug-only=pchcontainer &>%t-pch.ll
+// RUN: cat %t-pch.ll | FileCheck %s
+
+template<class...>                     
----------------
Michael137 wrote:

I just used exactly the template alias that was crashing in the libc++ case. I suppose it doesn't actually have to be a template

https://github.com/llvm/llvm-project/pull/123253


More information about the cfe-commits mailing list