[llvm-branch-commits] [llvm] [DLCov] Origin-Tracking: Enable collecting and symbolizing stack traces (PR #143591)

Jeremy Morse via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jun 11 10:07:09 PDT 2025


================
@@ -14,14 +14,32 @@
 #ifndef LLVM_SUPPORT_SIGNALS_H
 #define LLVM_SUPPORT_SIGNALS_H
 
+#include "llvm/Config/llvm-config.h"
 #include "llvm/Support/Compiler.h"
+#include <array>
 #include <cstdint>
 #include <string>
 
 namespace llvm {
 class StringRef;
 class raw_ostream;
 
+#if LLVM_ENABLE_DEBUGLOC_ORIGIN_TRACKING
+// Typedefs that are convenient but only used by the stack-trace-collection code
+// added if DebugLoc origin-tracking is enabled.
----------------
jmorse wrote:

Why the forward decls instead of including densemap.h -- is there a major compile-time-of-clang consequence?

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


More information about the llvm-branch-commits mailing list