llvm-6502/lib/MC
Saleem Abdulrasool 7da07d7834 MC: correct DWARF header for PE/COFF assembly input
The header contains an offset to the DWARF line table for the CU.  The offset
must be section relative for COFF and absolute for others.  The non-assembly
code path for the DWARF header generation already has the correct emission for
the headers.  This corrects the assembly input path.

This was identified by BFD objecting to the LLVM generated DWARF information.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217222 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-05 04:15:00 +00:00
..
MCDisassembler Change MCSchedModel to be a struct of statically initialized data. 2014-09-02 17:43:54 +00:00
MCParser Fix left shifts by too large exponents in MCParser 2014-09-02 17:25:29 +00:00
CMakeLists.txt Nuke MCAnalysis. 2014-09-02 22:32:20 +00:00
ConstantPools.cpp
ELFObjectWriter.cpp
LLVMBuild.txt Nuke MCAnalysis. 2014-09-02 22:32:20 +00:00
MachObjectWriter.cpp If available, pass down the Fixup object to EvaluateAsRelocatable. 2014-08-10 11:35:12 +00:00
Makefile Nuke MCAnalysis. 2014-09-02 22:32:20 +00:00
MCAsmBackend.cpp
MCAsmInfo.cpp MC: remove unnecessary enumeration prefix 2014-09-01 23:48:29 +00:00
MCAsmInfoCOFF.cpp Remove HasLEB128. 2014-08-15 14:01:07 +00:00
MCAsmInfoDarwin.cpp
MCAsmInfoELF.cpp
MCAsmStreamer.cpp MC Win64: Put unwind info for COMDAT code into the same COMDAT group 2014-09-04 17:42:03 +00:00
MCAssembler.cpp Add a helper to MCExpr for when an expression is know to be absolute. 2014-08-15 14:20:32 +00:00
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp MC Win64: Put unwind info for COMDAT code into the same COMDAT group 2014-09-04 17:42:03 +00:00
MCDwarf.cpp MC: correct DWARF header for PE/COFF assembly input 2014-09-05 04:15:00 +00:00
MCELF.cpp
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp
MCExpr.cpp Add a helper to MCExpr for when an expression is know to be absolute. 2014-08-15 14:20:32 +00:00
MCInst.cpp
MCInstPrinter.cpp
MCInstrAnalysis.cpp
MCLabel.cpp
MCLinkerOptimizationHint.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp Add override to overriden virtual methods, remove virtual keywords. 2014-09-03 11:41:21 +00:00
MCNullStreamer.cpp
MCObjectFileInfo.cpp Add support for StackMap section for ELF/Linux systems 2014-08-01 18:47:09 +00:00
MCObjectStreamer.cpp Make EmitDwarfSetLineAddr an static helper. NFC. 2014-08-15 14:43:02 +00:00
MCObjectWriter.cpp
MCRegisterInfo.cpp
MCSection.cpp
MCSectionCOFF.cpp
MCSectionELF.cpp
MCSectionMachO.cpp
MCStreamer.cpp Don't allow MCStreamer::EmitIntValue to output 0-byte integers. 2014-08-20 22:46:38 +00:00
MCSubtargetInfo.cpp Change MCSchedModel to be a struct of statically initialized data. 2014-09-02 17:43:54 +00:00
MCSymbol.cpp
MCSymbolizer.cpp
MCTargetOptions.cpp Convert MC command line option for fatal assembler warnings into a 2014-08-26 18:39:50 +00:00
MCValue.cpp
MCWin64EH.cpp MC Win64: Put unwind info for COMDAT code into the same COMDAT group 2014-09-04 17:42:03 +00:00
MCWinEH.cpp MC Win64: Put unwind info for COMDAT code into the same COMDAT group 2014-09-04 17:42:03 +00:00
StringTableBuilder.cpp
SubtargetFeature.cpp Fix some cases where StringRef was being passed by const reference. Remove const from some other StringRefs since its implicitly const already. 2014-08-30 16:48:02 +00:00
WinCOFFObjectWriter.cpp Silence a -Wsign-compare warning. NFC. 2014-08-28 13:23:26 +00:00
WinCOFFStreamer.cpp MC: cleanup includes 2014-08-09 17:21:33 +00:00
YAML.cpp