[clang] [clang][PCH] Don't try to create standalone debug-info for types marked nodebug (PR #123253)
Adrian Prantl via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 16 15:40:23 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
+
----------------
adrian-prantl wrote:
Don't forget the REQUIRE: assertions! (because of -debug-only)
https://github.com/llvm/llvm-project/pull/123253
More information about the cfe-commits
mailing list