Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ELF] - Do not remove empty sections that use symbols in expressions. | George Rimar | 2018-03-01 | 1 | -0/+18 |
This is PR36515. Currenly if we have a script like .debug_info 0 : { *(.debug_info) }, we would not remove this section and keep it in the output. That does not work, because it is common case for debug sections to have a zero address expression. Patch changes behavior so that we remove only sections that do not use symbols in its expressions. Differential revision: https://reviews.llvm.org/D43863 llvm-svn: 326430 |