Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 0789816

Browse files
committed
[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 (cherry picked from commit e7b027c)
1 parent 4148c50 commit 0789816

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Driver/ToolChains/Darwin.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,6 +1029,8 @@ void Darwin::addProfileRTLibs(const ArgList &Args,
10291029
addExportedSymbol(CmdArgs, "___llvm_profile_filename");
10301030
addExportedSymbol(CmdArgs, "___llvm_profile_raw_version");
10311031
addExportedSymbol(CmdArgs, "_lprofCurFilename");
1032+
addExportedSymbol(CmdArgs, "_lprofDirMode");
1033+
addExportedSymbol(CmdArgs, "_lprofMergeValueProfData");
10321034
}
10331035
}
10341036

0 commit comments

Comments
 (0)