forked from OSchip/llvm-project
daff7b8589
We already have Symbols property to list regular symbols and it is currently Optional<>. This patch makes DynamicSymbols to be optional too. With this there is no need to define a dummy symbol anymore to trigger creation of the .dynsym and it is now possible to define an empty .dynsym using just the following line: DynamicSymbols: [] (it is important to have when you do not want to have dynamic symbols, but want to have a .dynsym) Now the code is consistent and it helped to fix a bug: previously we did not report an error when both Content/Size and an empty Symbols/DynamicSymbols list were specified. Differential revision: https://reviews.llvm.org/D70956 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Error.cpp | ||
Error.h | ||
coff2yaml.cpp | ||
dwarf2yaml.cpp | ||
elf2yaml.cpp | ||
macho2yaml.cpp | ||
minidump2yaml.cpp | ||
obj2yaml.cpp | ||
obj2yaml.h | ||
wasm2yaml.cpp | ||
xcoff2yaml.cpp |