diff options
| author | Vedant Kumar <vsk@apple.com> | 2018-11-06 22:25:00 +0000 |
|---|---|---|
| committer | Vedant Kumar <vsk@apple.com> | 2018-11-06 22:25:00 +0000 |
| commit | 9e41b5eb6e4a8c1aa07a8f73f17936571790b741 (patch) | |
| tree | 45e6297fe23c423b6417ad9cec94526d05865494 /clang/lib/Driver | |
| parent | 935d373db93195eaa1f00ceaf3907692c1f5432c (diff) | |
| download | bcm5719-llvm-9e41b5eb6e4a8c1aa07a8f73f17936571790b741.tar.gz bcm5719-llvm-9e41b5eb6e4a8c1aa07a8f73f17936571790b741.zip | |
[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
llvm-svn: 346276
Diffstat (limited to 'clang/lib/Driver')
| -rw-r--r-- | clang/lib/Driver/ToolChains/Darwin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Driver/ToolChains/Darwin.cpp b/clang/lib/Driver/ToolChains/Darwin.cpp index a5cc1178d33..50c0db5b5a0 100644 --- a/clang/lib/Driver/ToolChains/Darwin.cpp +++ b/clang/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"); } } |

