forked from OSchip/llvm-project
3ebea27d66
Some compilers may not add the section symbol in '.symtab' for the .init_array and 'ldd' just ignore it. It results in global constructor not being called in final executable. This patch add both '.init_array' and '.fini_array' to be added in Atom graph generation even when the section contains no symbol. An already existing testcase is modified to check for such scenario. The issue fixes the llvm test-suite regressions for both Single and MultiSource files. llvm-svn: 240570 |
||
---|---|---|
.. | ||
Config | ||
Core | ||
Driver | ||
ReaderWriter | ||
CMakeLists.txt |