[llvm-branch-commits] [llvm] aa7ae25 - [llvm-symbolizer] Add missing include for config.h
Amy Huang via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Dec 15 09:25:24 PST 2020
Author: Amy Huang
Date: 2020-12-15T09:20:31-08:00
New Revision: aa7ae25613da0322c77a2a19cadd950f21e74ee2
URL: https://github.com/llvm/llvm-project/commit/aa7ae25613da0322c77a2a19cadd950f21e74ee2
DIFF: https://github.com/llvm/llvm-project/commit/aa7ae25613da0322c77a2a19cadd950f21e74ee2.diff
LOG: [llvm-symbolizer] Add missing include for config.h
The cmake variable LLVM_ENABLE_DIA_SDK was being used here but
was undefined because config.h wasn't included.
Differential Revision: https://reviews.llvm.org/D93309
Added:
Modified:
llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
Removed:
################################################################################
diff --git a/llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp b/llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
index 875432bd6705..358e0e284fca 100644
--- a/llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
+++ b/llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
@@ -16,6 +16,7 @@
#include "Opts.inc"
#include "llvm/ADT/StringRef.h"
+#include "llvm/Config/config.h"
#include "llvm/DebugInfo/Symbolize/DIPrinter.h"
#include "llvm/DebugInfo/Symbolize/Symbolize.h"
#include "llvm/Option/Arg.h"
More information about the llvm-branch-commits
mailing list