summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@quicinc.com>2019-03-14 23:08:19 +0000
committerEli Friedman <efriedma@quicinc.com>2019-03-14 23:08:19 +0000
commitfb26c329afbe8cf7d55868b3299aed5e63c02868 (patch)
treeaa0fb27782295ffe251075e7deda758d16149455 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentbc6d07ca46d7e77f3602281a0d0b89ac818ef40d (diff)
[MC] Sort FDEs by the associated CIE before emitting them.
This isn't necessary according to the DWARF standard, but it matches the .eh_frame sections emitted by other tools in practice, and the Android libunwindstack rejects .eh_frame sections where an FDE refers to a CIE other than the closest previous CIE. So match the other tools and also sort accordingly. I consider this a bug in libunwindstack, but it's easy enough to emit a compatible .eh_frame section for compatibility with installed operating systems. Differential Revision: https://reviews.llvm.org/D58266 llvm-svn: 356216
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions