summaryrefslogtreecommitdiffstats
path: root/lib/Driver/ToolChains/Darwin.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2018-11-06 22:25:00 +0000
committerVedant Kumar <vsk@apple.com>2018-11-06 22:25:00 +0000
commite7b027cd77bf1b5f31f121ac1885fe5c862eca41 (patch)
tree63ad625c34b3346e02637fead8f4bcd018205580 /lib/Driver/ToolChains/Darwin.cpp
parenteb5cc0e34524869507eb693bb4ca5d8855b10656 (diff)
[Darwin] Export new weak external symbols when compiling with coverage
Some weak external symbols were added to the profile runtime in D49953, and on Darwin, these need to be exported for tapi verification purposes. I've tightened the test so that future breakages can be caught earlier. rdar://45831054 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@346276 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChains/Darwin.cpp')
-rw-r--r--lib/Driver/ToolChains/Darwin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Driver/ToolChains/Darwin.cpp b/lib/Driver/ToolChains/Darwin.cpp
index a5cc1178d3..50c0db5b5a 100644
--- a/lib/Driver/ToolChains/Darwin.cpp
+++ b/lib/Driver/ToolChains/Darwin.cpp
@@ -1037,6 +1037,8 @@ void Darwin::addProfileRTLibs(const ArgList &Args,
addExportedSymbol(CmdArgs, "___llvm_profile_filename");
addExportedSymbol(CmdArgs, "___llvm_profile_raw_version");
addExportedSymbol(CmdArgs, "_lprofCurFilename");
+ addExportedSymbol(CmdArgs, "_lprofDirMode");
+ addExportedSymbol(CmdArgs, "_lprofMergeValueProfData");
}
}