llvm-6502/include/llvm/Support
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
..
ELFRelocs Update AArch64 ELF relocations to ABI 1.0 2014-11-26 10:49:18 +00:00
AIXDataTypesFix.h
AlignOf.h
Allocator.h
ARMBuildAttributes.h [ARM] Add support for ARMV6K subtarget (LLVM) 2015-03-17 11:55:28 +00:00
ARMEHABI.h
ARMWinEH.h
ArrayRecycler.h
Atomic.h
BlockFrequency.h
BranchProbability.h
Capacity.h
Casting.h Support: Add *cast_or_null<> for pointer wrappers 2014-11-24 03:13:02 +00:00
CBindingWrapping.h
circular_raw_ostream.h
CodeGen.h Add Position-independent Code model Module API. 2014-11-07 04:46:10 +00:00
COFF.h Modify llvm-readobj to dump symbol record bytes. 2015-02-18 19:32:05 +00:00
CommandLine.h Recommit r231221: "Devirtualize ~parser<T> by making it protected in base classes and making derived classes final" 2015-03-04 18:52:32 +00:00
Compiler.h I believe we no longer require LLVM_HAS_INITIALIZER_LISTS; it's supported in MSVC 2013 and GCC. Added a trivial test to ensure the ArrayRef initializer list constructor is called and behaves as expected. 2015-02-17 15:37:53 +00:00
Compression.h [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
ConvertUTF.h Add a UTF8 to UTF16 conversion wrapper for use in the pdb dumper 2015-01-26 19:51:00 +00:00
CrashRecoveryContext.h [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
DataExtractor.h llvm-symbolizer: teach it about PowerPC64 ELF function descriptors 2014-11-07 09:08:39 +00:00
DataStream.h
DataTypes.h.cmake
DataTypes.h.in
Debug.h
DOTGraphTraits.h
Dwarf.def DebugInfo: Drop fake DW_TAG_expression 2015-03-17 21:32:46 +00:00
Dwarf.h Support: Add dwarf::getOperationEncoding() 2015-02-13 01:05:00 +00:00
DynamicLibrary.h
ELF.h Add support for Nuxi CloudABI. 2015-03-09 18:40:45 +00:00
Endian.h InstrProf: Do a better job of reading coverage mapping data. 2015-03-16 06:55:45 +00:00
EndianStream.h Add support for double / float to EndianStream 2015-02-05 03:30:08 +00:00
Errc.h
Errno.h
ErrorHandling.h
ErrorOr.h Removing LLVM_EXPLICIT, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:00:20 +00:00
FileOutputBuffer.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
FileSystem.h Object: Handle Mach-O kext bundle files 2015-02-25 22:59:20 +00:00
FileUtilities.h Remove many superfluous SmallString::str() calls. 2015-03-18 10:17:07 +00:00
Format.h use = default instead of {} 2015-03-04 07:35:04 +00:00
FormattedStream.h
GCOV.h llvm-cov: Don't use llvm::outs() in library code 2015-01-23 23:09:27 +00:00
GenericDomTree.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
GenericDomTreeConstruction.h Add comment about a gotcha I ran across while touching this code. 2015-01-14 19:59:18 +00:00
GraphWriter.h
Host.h
LEB128.h
LICENSE.TXT
LineIterator.h
Locale.h
LockFileManager.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
MachO.h Another attempt to fix the LLVM Windows build bot lld-x86_64-win7, one last place to fix I think. 2014-12-24 00:16:51 +00:00
ManagedStatic.h
MathExtras.h Remove the remaining uses of abs64 and nuke it. 2015-03-09 20:20:16 +00:00
MD5.h
Memory.h
MemoryBuffer.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
MemoryObject.h Update \param(s) in MemoryObject::readBytes(). [-Wdocumentation] 2014-11-13 04:56:41 +00:00
Mutex.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
MutexGuard.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
OnDiskHashTable.h [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
Options.h
OutputBuffer.h
Path.h
PluginLoader.h
PointerLikeTypeTraits.h
PrettyStackTrace.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
Process.h Remove dead code. NFC. 2014-12-04 16:59:36 +00:00
Program.h
RandomNumberGenerator.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
raw_os_ostream.h
raw_ostream.h Teach raw_ostream to accept SmallString. 2015-03-10 07:33:23 +00:00
Recycler.h
RecyclingAllocator.h
Regex.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
Registry.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
RegistryParser.h
RWMutex.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
SaveAndRestore.h
ScaledNumber.h [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
Signals.h Replace PrintStackTrace(FILE*) with PrintStackTrace(raw_ostream&) 2015-03-05 19:10:52 +00:00
SMLoc.h
Solaris.h
SourceMgr.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
SpecialCaseList.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
StreamingMemoryObject.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
StringPool.h Removing LLVM_EXPLICIT, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:00:20 +00:00
SwapByteOrder.h Add code to llvm-objdump so the -section option with -macho will dump literal 2015-02-06 23:25:38 +00:00
SystemUtils.h
TargetRegistry.h Don't declare all text sections at the start of the .s 2015-03-20 20:00:01 +00:00
TargetSelect.h
Threading.h Added comment about llvm_execute_on_thread waiting for thread to complete. 2014-11-24 14:51:41 +00:00
ThreadLocal.h ThreadLocal: Return a mutable pointer if templated with a non-const type 2014-12-15 01:04:45 +00:00
Timer.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
TimeValue.h
ToolOutputFile.h
type_traits.h Put MSVC back into the dumb compiler's corner. 2015-02-20 16:35:42 +00:00
Unicode.h
UnicodeCharRanges.h Make VTs and UnicodeCharSet ctors constexpr if the compiler supports it. 2015-03-01 18:10:07 +00:00
UniqueLock.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
Valgrind.h
Watchdog.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
Win64EH.h
WindowsError.h
YAMLParser.h Revert "Remove the explicit SDNodeIterator::operator= in favor of the implicit default" 2015-03-03 21:18:16 +00:00
YAMLTraits.h Remove trailing whitespace. 2015-01-26 17:35:56 +00:00