Fix spurious warnings for missing symbols with thinLTO. The latter appends a unique suffix to avoid collisions for exported private symbols, resulting in dsymutil complaining it couldn't find the symbol in the object file.
rdar://75434058
Paths
| Differential D99125
[dsymutil] Fix spurious warnings for missing symbols with thinLTO ClosedPublic Authored by JDevlieghere on Mar 22 2021, 4:34 PM.
Details Summary Fix spurious warnings for missing symbols with thinLTO. The latter appends a unique suffix to avoid collisions for exported private symbols, resulting in dsymutil complaining it couldn't find the symbol in the object file. rdar://75434058
Diff Detail
Unit TestsFailed Event TimelineThis revision is now accepted and ready to land.Mar 22 2021, 5:09 PM This revision was landed with ongoing or failed builds.Mar 22 2021, 6:36 PM Closed by commit rG3d6c7d6e8e44: [dsymutil] Fix spurious warnings for missing symbols with thinLTO (authored by JDevlieghere). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 332471 llvm/test/tools/dsymutil/Inputs/private/tmp/thinlto/foobar.dylib
llvm/test/tools/dsymutil/Inputs/private/tmp/thinlto/lto/0.x86_64.thinlto.o
llvm/test/tools/dsymutil/Inputs/private/tmp/thinlto/lto/1.x86_64.thinlto.o
llvm/test/tools/dsymutil/X86/thinlto.test
llvm/tools/dsymutil/MachODebugMapParser.cpp
|