llvm-6502/include/llvm
Rafael Espindola df3edb6d36 Return ErrorOr from getSection.
This also improves the logic of what is an error:

* getSection(uint_32): only return an error if the index is out of bounds. The
  index 0 corresponds to a perfectly valid entry.
* getSection(Elf_Sym): Returns null for symbols that normally don't have
  sections and error for out of bound indexes.

In many places this just moves the report_fatal_error up the stack, but those
can then be fixed in smaller patches.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241156 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-01 12:56:27 +00:00
..
ADT [DWARF] Fix debug info generation for function static variables, typedefs, and records 2015-07-01 12:33:11 +00:00
Analysis Move delinearization from SCEVAddRecExpr to ScalarEvolution 2015-06-29 14:42:48 +00:00
AsmParser
Bitcode Add a DIModule metadata node to the IR. 2015-06-29 23:03:47 +00:00
CodeGen MIR Serialization: Serialize MBB successors. 2015-06-30 18:16:42 +00:00
Config
DebugInfo
ExecutionEngine [ORC] Add ObjectTransformLayer 2015-06-25 13:35:22 +00:00
IR [SEH] Add new intrinsics for recovering and restoring parent frames 2015-06-30 22:46:59 +00:00
IRReader
LibDriver
LineEditor
Linker
LTO Teach LTOModule to emit linker flags for dllexported symbols, plus interface cleanup. 2015-06-29 22:04:09 +00:00
MC Pack MCSymbol::HasName in to a spare bit in the section/fragment union. 2015-06-30 20:54:21 +00:00
Object Return ErrorOr from getSection. 2015-07-01 12:56:27 +00:00
Option Add Arg::getValues method with const 'this' and const result 2015-06-25 18:48:26 +00:00
Passes
ProfileData
Support Debug info: Add dwarf backend support for DIModule. 2015-06-30 02:13:04 +00:00
TableGen [TableGen] Restore the use of the TheInit field in Record to cache the Record's DefInit. I broke this when I fixed memory leaks recently. Remove the DenseMap that mapped Record's to DefInit. 2015-06-24 06:19:19 +00:00
Target Teach LTOModule to emit linker flags for dllexported symbols, plus interface cleanup. 2015-06-29 22:04:09 +00:00
Transforms Move VectorUtils from Transforms to Analysis to correct layering violation 2015-06-26 18:02:52 +00:00
CMakeLists.txt
InitializePasses.h
LinkAllIR.h
LinkAllPasses.h
module.modulemap Add Value.def to the list of textual includes, excluding it from the modules build. 2015-06-26 20:16:44 +00:00
module.modulemap.build
Pass.h
PassAnalysisSupport.h Doxygen-ify a few comments. NFC 2015-06-25 15:06:47 +00:00
PassInfo.h
PassRegistry.h
PassSupport.h