1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools/dsymutil
Rafael Espindola 06353319f0 Don't declare all text sections at the start of the .s
The code this patch removes was there to make sure the text sections went
before the dwarf sections. That is necessary because MachO uses offsets
relative to the start of the file, so adding a section can change relaxations.

The dwarf sections were being printed at the start just to produce symbols
pointing at the start of those sections.

The underlying issue was fixed in r231898. The dwarf sections are now printed
when they are about to be used, which is after we printed the text sections.

To make sure we don't regress, the patch makes the MachO streamer assert
if CodeGen puts anything unexpected after the DWARF sections.

llvm-svn: 232842
2015-03-20 20:00:01 +00:00
..
BinaryHolder.cpp [dsymutil] Implement the BinaryHolder object and gain archive support. 2015-01-05 21:29:28 +00:00
BinaryHolder.h [dsymutil] Implement the BinaryHolder object and gain archive support. 2015-01-05 21:29:28 +00:00
CMakeLists.txt [dsymutil] Add the DwarfStreamer class. 2015-02-28 00:29:11 +00:00
DebugMap.cpp [dsymutil] Add function size to the debug map. 2015-03-15 01:29:30 +00:00
DebugMap.h [dsymutil] Add an way to iterate over a DebugMapObject symbols. 2015-03-15 02:02:53 +00:00
dsymutil.cpp [dsymutil] Add the DwarfStreamer class. 2015-02-28 00:29:11 +00:00
dsymutil.h [dsymutil] Add the DwarfStreamer class. 2015-02-28 00:29:11 +00:00
DwarfLinker.cpp Don't declare all text sections at the start of the .s 2015-03-20 20:00:01 +00:00
LLVMBuild.txt [dsymutil] Add the DwarfStreamer class. 2015-02-28 00:29:11 +00:00
MachODebugMapParser.cpp [dsymutil] Add function size to the debug map. 2015-03-15 01:29:30 +00:00
Makefile [dsymutil] Add the DwarfStreamer class. 2015-02-28 00:29:11 +00:00