Make sure that symbols needed to implement runtime support for gcov are
exported when using an export list on Darwin.
Without the clang driver exporting these symbols, the linker hides them,
resulting in tapi verification failures.
rdar://45944768
Paths
| Differential D55151
[gcov/Darwin] Ensure external symbols are exported when using an export list ClosedPublic Authored by vsk on Nov 30 2018, 4:16 PM.
Details
Summary Make sure that symbols needed to implement runtime support for gcov are Without the clang driver exporting these symbols, the linker hides them, rdar://45944768
Diff Detail Event Timeline
This revision is now accepted and ready to land.Nov 30 2018, 5:13 PM Closed by commit rL348187: [gcov/Darwin] Ensure external symbols are exported when using an export list (authored by vedantk). · Explain WhyDec 3 2018, 12:56 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 176217 clang/include/clang/Driver/ToolChain.h
clang/lib/Driver/ToolChain.cpp
clang/lib/Driver/ToolChains/Darwin.cpp
clang/test/Driver/darwin-ld.c
compiler-rt/test/profile/instrprof-darwin-exports.c
|
Are the symbols mutually exclusive?