blob: f4bf20cf9ba13510940e399062ba47ee77b7c4fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp
index 1c6a6d5..7377f72 100644
--- a/lib/Driver/ToolChains.cpp
+++ b/lib/Driver/ToolChains.cpp
@@ -3395,6 +3395,10 @ void Linux::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs,
}
}
+ToolChain::RuntimeLibType Linux::GetDefaultRuntimeLibType() const {
+ return ToolChain::RLT_CompilerRT;
+}
+
bool Linux::isPIEDefault() const {
return getSanitizerArgs().requiresPIE();
}
diff --git a/lib/Driver/ToolChains.h b/lib/Driver/ToolChains.h
index 47fb10d..88aee51 100644
--- a/lib/Driver/ToolChains.h
+++ b/lib/Driver/ToolChains.h
@@ -640,6 +640,7 @@ public:
void
AddClangCXXStdlibIncludeArgs(const llvm::opt::ArgList &DriverArgs,
llvm::opt::ArgStringList &CC1Args) const override;
+ RuntimeLibType GetDefaultRuntimeLibType() const override;
bool isPIEDefault() const override;
std::string Linker;
|