diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index 1c92ea45c745..2f6d4c414e73 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/lib/CodeGen/BackendUtil.cpp @@ -25,6 +25,7 @@ #include "llvm/Bitcode/BitcodeWriter.h" #include "llvm/Bitcode/BitcodeWriterPass.h" #include "llvm/CodeGen/TargetSubtargetInfo.h" +#include "llvm/Config/llvm-config.h" #include "llvm/Frontend/Driver/CodeGenOptions.h" #include "llvm/IR/DataLayout.h" #include "llvm/IR/DebugInfo.h" @@ -961,7 +962,7 @@ void EmitAssemblyHelper::RunOptimizationPipeline( CodeGenOpts.DIBugsReportFilePath); Debugify.registerCallbacks(PIC, MAM); -#if LLVM_ENABLE_DEBUGLOC_COVERAGE_TRACKING +#if LLVM_ENABLE_DEBUGLOC_TRACKING_COVERAGE // If we're using debug location coverage tracking, mark all the // instructions coming out of the frontend without a DebugLoc as being // compiler-generated, to prevent both those instructions and new