[PATCH] D56020: [TextAPI][elfabi] Fix YAML support for weak symbols

Armando Montanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 21 12:20:30 PST 2018


amontanez created this revision.
amontanez added reviewers: jakehehrlich, phosek.
Herald added subscribers: llvm-commits, hiraditya, arichardson, emaste.
Herald added a reviewer: espindola.

Weak symbols are supposed to be supported in the ELF TextAPI implementation, but the YAML handler didn't read or write the `Weak` member of ELFSymbol. This change adds the YAML mapping and updates tests to ensure correct behavior.


Repository:
  rL LLVM

https://reviews.llvm.org/D56020

Files:
  llvm/lib/TextAPI/ELF/TBEHandler.cpp
  llvm/unittests/TextAPI/ELFYAMLTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56020.179329.patch
Type: text/x-patch
Size: 3612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181221/dacd0270/attachment.bin>


More information about the llvm-commits mailing list