[llvm-branch-commits] [clang] [KeyInstr][Clang] Add Clang option -g[no-]key-instructions (PR #134627)

Reid Kleckner via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu May 1 16:27:10 PDT 2025


================
@@ -0,0 +1,2 @@
+if not config.has_key_instructions:
+    config.unsupported = True
----------------
rnk wrote:

> (RIP your future tree conflicts).

Yeah... 😢 

I went looking for clang/test/DebugInfo, but that did not exist. Our existing debug info IRgen tests are split by language into CodeGen/CodeGenCXX/CodeGenObj, which is not great organization.

I think clang/test/DebugInfo/KeyInstrs would be a good final home for these tests, and organizing the existing tests can be future (never?) work.

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


More information about the llvm-branch-commits mailing list