This is an archive of the discontinued LLVM Phabricator instance.

[llvm-tapi] Don't override SequenceTraits for std::string
ClosedPublic

Authored by amontanez on Dec 6 2018, 3:13 PM.

Details

Summary

Change the ELF YAML implementation of TextAPI so NeededLibs uses flow
sequence vector correctly instead of overriding the YAML implementation
for std::vector<std::string>>.

This should fix the test failure with the LLVM_LINK_LLVM_DYLIB build mentioned in D55381.

Still passes existing tests that cover this.

Diff Detail

Repository
rL LLVM

Event Timeline

amontanez created this revision.Dec 6 2018, 3:13 PM
amontanez edited the summary of this revision. (Show Details)Dec 6 2018, 3:14 PM
sbc100 accepted this revision.Dec 6 2018, 3:23 PM

Thanks. lgtm

llvm/lib/TextAPI/ELF/TBEHandler.cpp
148 ↗(On Diff #177064)

Do you need this template? Isn't it enough to simply declare it as LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR?

This revision is now accepted and ready to land.Dec 6 2018, 3:23 PM
This revision was automatically updated to reflect the committed changes.
amontanez marked 2 inline comments as done.