================
@@ -54,11 +54,17 @@
#include "llvm/Support/SHA1.h"
#include "llvm/Support/SHA256.h"
#include "llvm/Support/TimeProfiler.h"
+#include "llvm/Support/CommandLine.h"
#include <cstdint>
#include <optional>
using namespace clang;
using namespace clang::CodeGen;
+static llvm::cl::opt<bool> DebugInfoMacroExpansionLoc(
+ "debug-info-macro-expansion-loc",
+ llvm::cl::desc("Use expansion location for debug info on macro params"),
+ llvm::cl::init(false));
+
----------------
dwblaikie wrote:
Please plumb this through in the same way as other debug info flags. It
can/probably should be a clang cc1 flag, not a clang driver flag (since it's
experimental/no plan to support it long term at this time).
https://github.com/llvm/llvm-project/pull/174895
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits