r346276 - [Darwin] Export new weak external symbols when compiling with coverage
Vedant Kumar via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 6 14:25:00 PST 2018
Author: vedantk
Date: Tue Nov 6 14:25:00 2018
New Revision: 346276
URL: http://llvm.org/viewvc/llvm-project?rev=346276&view=rev
Log:
[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
Modified:
cfe/trunk/lib/Driver/ToolChains/Darwin.cpp
Modified: cfe/trunk/lib/Driver/ToolChains/Darwin.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains/Darwin.cpp?rev=346276&r1=346275&r2=346276&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains/Darwin.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains/Darwin.cpp Tue Nov 6 14:25:00 2018
@@ -1037,6 +1037,8 @@ void Darwin::addProfileRTLibs(const ArgL
addExportedSymbol(CmdArgs, "___llvm_profile_filename");
addExportedSymbol(CmdArgs, "___llvm_profile_raw_version");
addExportedSymbol(CmdArgs, "_lprofCurFilename");
+ addExportedSymbol(CmdArgs, "_lprofDirMode");
+ addExportedSymbol(CmdArgs, "_lprofMergeValueProfData");
}
}
More information about the cfe-commits
mailing list