llvm-6502/include/llvm
Rafael Espindola d80979b25d 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232842 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-20 20:00:01 +00:00
..
ADT [ARM] Add support for ARMV6K subtarget (LLVM) 2015-03-17 11:55:28 +00:00
Analysis [SCEV] Make isImpliedCond smarter. 2015-03-18 00:41:29 +00:00
AsmParser
Bitcode
CodeGen Rewrite StackMap location handling to pre-compute the dwarf register 2015-03-20 16:03:42 +00:00
Config
DebugInfo DWARFDebugRangeList: make the list of entries available to clients. 2015-03-13 23:30:07 +00:00
ExecutionEngine
IR Verifier: Remove the separate -verify-di pass 2015-03-19 22:24:17 +00:00
IRReader
LineEditor
Linker
LTO libLTO, llvm-lto, gold: Introduce flag for controlling optimization level. 2015-03-19 22:01:00 +00:00
MC Don't declare all text sections at the start of the .s 2015-03-20 20:00:01 +00:00
Object [Object][ELF] ELFEntityIterator : Add operators for random access 2015-03-17 15:44:20 +00:00
Option Teach Twine to support SmallString. 2015-03-17 09:51:17 +00:00
Passes
ProfileData
Support Don't declare all text sections at the start of the .s 2015-03-20 20:00:01 +00:00
TableGen Remove StringRef->std::string->StringRef conversions. 2015-03-17 21:33:38 +00:00
Target [ARM] Fix handling of thumb1 out-of-range frame offsets 2015-03-20 17:20:07 +00:00
Transforms libLTO, llvm-lto, gold: Introduce flag for controlling optimization level. 2015-03-19 22:01:00 +00:00
CMakeLists.txt
InitializePasses.h Verifier: Remove the separate -verify-di pass 2015-03-19 22:24:17 +00:00
LinkAllIR.h
LinkAllPasses.h
module.modulemap
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h