The following changes enable llvm-ifs to handle the following merge conflicts:
* Weak + Strong symbol merging for the same symbol * empty vs non-empty triple field * empty vs non-empty object file format
Paths
| Differential D70834
[llvm] llvm-ifs: Support for handling empty IFS and merging weak+strong symbols. ClosedPublic Authored by plotfi on Nov 28 2019, 1:48 PM.
Details Summary The following changes enable llvm-ifs to handle the following merge conflicts: * Weak + Strong symbol merging for the same symbol * empty vs non-empty triple field * empty vs non-empty object file format
Diff Detail
Event Timelineplotfi added inline comments.
This revision is now accepted and ready to land.Dec 4 2019, 9:08 PM Comment Actions adding tests for weak/strong mismatch that is also a size/type mismatch for a given symbol. Closed by commit rGef7267def69f: [llvm] llvm-ifs: Support for handling empty IFS and merging weak+strong symbols. (authored by plotfi). · Explain WhyDec 5 2019, 9:57 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 232377 llvm/test/tools/llvm-ifs/Inputs/strong-mismatch-size.ifs
llvm/test/tools/llvm-ifs/Inputs/strong-mismatch-type.ifs
llvm/test/tools/llvm-ifs/conflict-weak.ifs
llvm/test/tools/llvm-ifs/default-empty.ifs
llvm/test/tools/llvm-ifs/strong.ifs
llvm/test/tools/llvm-ifs/weak-mismatch.ifs
llvm/tools/llvm-ifs/llvm-ifs.cpp
|
I would probably just write this as a ternary.