llvm-6502/include/llvm
Rafael Espindola 3fea1651f6 Rename and improve emitSectionOffset.
Different object formats represent references from dwarf in different ways.

ELF uses a relocation to the referenced point (except for .dwo) and
COFF/MachO use the offset of the referenced point inside its section.

This patch renames emitSectionOffset because

* It doesn't produce an offset on ELF.
* It changes behavior depending on how DWARF is represented, so adding
dwarf to its name is probably a good thing.

The patch also adds an option to force the use of offsets.That avoids
funny looking code like

  if (!UseOffsets)
    Asm->emitSectionOffset....

It was correct, but read as if the ! was inverted.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239866 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-16 23:22:02 +00:00
..
ADT Add 'shave' processor name to Triple 2015-06-12 18:31:38 +00:00
Analysis Fix PR 23525 - Separate header mass propagation in irregular loops. 2015-06-16 19:10:58 +00:00
AsmParser
Bitcode Return a unique_ptr from getLazyBitcodeModule and parseBitcodeFile. NFC. 2015-06-16 22:27:55 +00:00
CodeGen Rename and improve emitSectionOffset. 2015-06-16 23:22:02 +00:00
Config
DebugInfo Re-unique_ptrify LoadedObjectInfo::clone after it was reverted due to some other changes that broke on GCC around the same time 2015-06-04 20:54:32 +00:00
ExecutionEngine [ExecutionEngine] ArrayRefize argument passing. 2015-06-13 19:50:29 +00:00
IR Reapply 239795 - [InstCombine] Propagate non-null facts to call parameters 2015-06-16 20:24:25 +00:00
IRReader
LibDriver LibDriver, llvm-lib: introduce. 2015-06-09 21:50:22 +00:00
LineEditor
Linker
LTO
MC Recommit r239721: Replace string GNU Triples with llvm::Triple in InitMCObjectFileInfo. NFC. 2015-06-16 12:18:07 +00:00
Object Avoid a "always true" warning from gcc. 2015-06-15 14:49:41 +00:00
Option
Passes
ProfileData
Support MIR Serialization: Connect the machine function analysis pass to the MIR parser. 2015-06-15 20:30:22 +00:00
TableGen [TableGen] Remove unused method declaration. NFC 2015-06-16 05:44:06 +00:00
Target TargetRegisterInfo: Make the concept of imprecise lane masks explicit 2015-06-16 18:22:26 +00:00
Transforms Refactor RecurrenceInstDesc 2015-06-16 22:59:45 +00:00
CMakeLists.txt
InitializePasses.h Protection against stack-based memory corruption errors using SafeStack 2015-06-15 21:07:11 +00:00
LinkAllIR.h
LinkAllPasses.h Protection against stack-based memory corruption errors using SafeStack 2015-06-15 21:07:11 +00:00
module.modulemap modules: Mark CodeGen/DIEValues.def as a textual inclusion 2015-06-16 00:43:52 +00:00
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h