summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/Symbolize
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-11-03 22:08:08 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-11-03 22:08:08 +0000
commit61362ce876073358a2af67c4b05cff617b4a5c22 (patch)
tree038d0004c3b29b98006fa14696e31610a65199c2 /llvm/lib/DebugInfo/Symbolize
parentd7a267b84bc0171574825f4bbe61119542261271 (diff)
downloadbcm5719-llvm-61362ce876073358a2af67c4b05cff617b4a5c22.tar.gz
bcm5719-llvm-61362ce876073358a2af67c4b05cff617b4a5c22.zip
Handle 0 sized sections like any other section.
This is a case where there is inconsistency among ELF linkers: * The spec says nothing special about empty sections. * BFD ld removes them. * Gold handles them like regular sections. We were outputting them but sometimes ignoring them. This would create odd looking outputs where a rw section could be in a ro segment for example. The bfd way of doing things is also strange for the case where a symbol points to the empty section. Now we match gold and what seems to be the intention of the spec. llvm-svn: 251988
Diffstat (limited to 'llvm/lib/DebugInfo/Symbolize')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud