llvm-project/llvm/lib/DebugInfo/GSYM
Greg Clayton 838a57e1a5 Fix a bug introduced by the move of AddressRanges.h into ADT.
The bug was introduced when the AddressRange class was no longer able to modify the End address directly and the entire range of the .text address range that contained the trailing empty symbol was replaced. There was no unit test for this, so it wasn't caught. I fixed the bug and added a unit test for it.

The effects of this bug are serious as the AddressOffsetSize in the header would be incorrectly calculated and an invalid GSYM would be created.

Differential Revision: https://reviews.llvm.org/D127811
2022-06-16 10:50:46 -07:00
..
CMakeLists.txt [llvm-gsymutil][NFC] refactor AddressRange&AddresRanges structures. 2022-04-26 12:00:43 +03:00
DwarfTransformer.cpp [llvm-gsymutil][NFC] refactor AddressRange&AddresRanges structures. 2022-04-26 12:00:43 +03:00
ExtractRanges.cpp [llvm-gsymutil][NFC] refactor AddressRange&AddresRanges structures. 2022-04-26 12:00:43 +03:00
FileWriter.cpp [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
FunctionInfo.cpp [llvm-gsymutil][NFC] refactor AddressRange&AddresRanges structures. 2022-04-26 12:00:43 +03:00
GsymCreator.cpp Fix a bug introduced by the move of AddressRanges.h into ADT. 2022-06-16 10:50:46 -07:00
GsymReader.cpp Apply clang-tidy fixes for readability-redundant-smartptr-get in GsymReader.cpp (NFC) 2022-03-28 09:18:30 -07:00
Header.cpp
InlineInfo.cpp [llvm-gsymutil][NFC] refactor AddressRange&AddresRanges structures. 2022-04-26 12:00:43 +03:00
LineTable.cpp
LookupResult.cpp Fix if statement in DebugInfo/GSYM/LookupResult.cpp 2022-05-18 22:45:21 -07:00
ObjectFileTransformer.cpp