[llvm] 63bf228 - [Symbolizer] Move default ctor into .cpp file
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 25 14:12:35 PST 2022
Author: Reid Kleckner
Date: 2022-02-25T14:12:15-08:00
New Revision: 63bf228450b8403e0c5e828d276be47ffbcd00d0
URL: https://github.com/llvm/llvm-project/commit/63bf228450b8403e0c5e828d276be47ffbcd00d0
DIFF: https://github.com/llvm/llvm-project/commit/63bf228450b8403e0c5e828d276be47ffbcd00d0.diff
LOG: [Symbolizer] Move default ctor into .cpp file
Follow up to 1e396affca6a0d21247d960c93a415e8f6fe0301. On some standard
library configurations these have a dependency on the complete type of
SymbolizableModule.
Added:
Modified:
llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h
llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
Removed:
################################################################################
diff --git a/llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h b/llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h
index 2317017283cc7..ab33c405cfccf 100644
--- a/llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h
+++ b/llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h
@@ -68,7 +68,7 @@ class LLVMSymbolizer {
: 4ULL * 1024 * 1024 * 1024 /* 4 GiB */;
};
- LLVMSymbolizer() = default;
+ LLVMSymbolizer();
LLVMSymbolizer(const Options &Opts);
~LLVMSymbolizer();
diff --git a/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp b/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
index 021db1031ab56..55ef8cfcb08bc 100644
--- a/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
+++ b/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
@@ -39,6 +39,8 @@
namespace llvm {
namespace symbolize {
+LLVMSymbolizer::LLVMSymbolizer() = default;
+
LLVMSymbolizer::LLVMSymbolizer(const Options &Opts) : Opts(Opts) {}
LLVMSymbolizer::~LLVMSymbolizer() = default;
More information about the llvm-commits
mailing list