summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-02-26 22:32:15 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-02-26 22:32:15 +0000
commit79c23eec04499933479874c0b06bc8d51914bde4 (patch)
tree49d9331cefbdcca8e14834cc8b2d514cec1df20a /lldb/packages/Python/lldbsuite/test
parent6dcbc1dbb387cf465090cffece6fccc1564233ab (diff)
downloadbcm5719-llvm-79c23eec04499933479874c0b06bc8d51914bde4.tar.gz
bcm5719-llvm-79c23eec04499933479874c0b06bc8d51914bde4.zip
Keep flags from phantom synthetic sections.
This fixes pr36475. I think this code can be simplified a bit, but I would like to check in the more direct fix if we are in agreement on the direction and then refactor. This is not something that bfd does. The issue is not noticed in bfd because it keeps fewer sections from the linkerscript in the output. The reasons why it seems reasonable to do this: - As George noticed, we would still keep the flags if the output section had both an empty synthetic section and a regular section - We need an heuristic to find the flags of output sections. Using the flags of a synthetic section that would have been there seems a reasonable heuristic. llvm-svn: 326137
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud