llvm/bolt
Gabriel Poesia 0a07d9bf88 Don't skip non-simple functions on function address ranges update.
Summary:
This fixes a problem in which bolt was generating a malformed .debug_info
section on the bzip2 binary. The bug was the following:

- A simple and a non-simple function shared an abbreviation
- The abbreviation was patched to contain DW_AT_ranges because of the simple function
- The non-simple function's data was not updated, but then it didn't match the
  layout expected by the abbreviation anymore

And because we were already creating an address ranges list in .debug_ranges even
for non-simple functions, it doesn't make sense not to use it anyway.

(cherry picked from FBD3129219)
2016-04-01 15:09:34 -07:00
..
BasicBlockOffsetRanges.cpp Update DWARF lexical blocks address ranges. 2016-03-28 17:45:22 -07:00
BasicBlockOffsetRanges.h Update DWARF lexical blocks address ranges. 2016-03-28 17:45:22 -07:00
BinaryBasicBlock.cpp Update DWARF lexical blocks address ranges. 2016-03-28 17:45:22 -07:00
BinaryBasicBlock.h Update DWARF lexical blocks address ranges. 2016-03-28 17:45:22 -07:00
BinaryContext.cpp Update DWARF lexical blocks address ranges. 2016-03-28 17:45:22 -07:00
BinaryContext.h Update DWARF lexical blocks address ranges. 2016-03-28 17:45:22 -07:00
BinaryFunction.cpp Update DWARF lexical blocks address ranges. 2016-03-28 17:45:22 -07:00
BinaryFunction.h Update DWARF lexical blocks address ranges. 2016-03-28 17:45:22 -07:00
BinaryPatcher.cpp Update subroutine address ranges in binary. 2016-03-16 18:08:29 -07:00
BinaryPatcher.h Update subroutine address ranges in binary. 2016-03-16 18:08:29 -07:00
CMakeLists.txt Update DWARF lexical blocks address ranges. 2016-03-28 17:45:22 -07:00
DataReader.cpp Populate function execution count while parsing fdata. 2016-03-28 11:06:28 -07:00
DataReader.h Populate function execution count while parsing fdata. 2016-03-28 11:06:28 -07:00
DebugLineTableRowRef.cpp Fix default line number information for instructions. 2016-03-14 11:40:52 -07:00
DebugLineTableRowRef.h Fix default line number information for instructions. 2016-03-14 11:40:52 -07:00
DebugRangesSectionsWriter.cpp Update DWARF lexical blocks address ranges. 2016-03-28 17:45:22 -07:00
DebugRangesSectionsWriter.h Update DWARF lexical blocks address ranges. 2016-03-28 17:45:22 -07:00
Exceptions.cpp Proper skipping of unsupported CFI instructions. 2016-03-10 23:03:17 -08:00
Exceptions.h Check function data in symbol table against data in .eh_frame. 2016-03-11 11:09:34 -08:00
LexicalBlock.h Update DWARF lexical blocks address ranges. 2016-03-28 17:45:22 -07:00
llvm-bolt.cpp Rename binary optimizer to BOLT. 2016-02-05 14:42:04 -08:00
LLVMBuild.txt Rename binary optimizer to BOLT. 2016-02-05 14:42:04 -08:00
README.md BOLT root commit 2022-01-10 17:58:05 -08:00
RewriteInstance.cpp Don't skip non-simple functions on function address ranges update. 2016-04-01 15:09:34 -07:00
RewriteInstance.h Speedup section remapping. 2016-03-28 22:39:48 -07:00