llvm-6502/include/llvm
Tom Stellard 3f8396f9ba Merging r229352:
------------------------------------------------------------------------
r229352 | david.majnemer | 2015-02-15 23:02:09 -0500 (Sun, 15 Feb 2015) | 9 lines

IR: Properly return nullptr when getAggregateElement is out-of-bounds

We didn't properly handle the out-of-bounds case for
ConstantAggregateZero and UndefValue.  This would manifest as a crash
when the constant folder was asked to fold a load of a constant global
whose struct type has no operands.

This fixes PR22595.

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_35@232512 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-17 18:09:58 +00:00
..
ADT Add MIPS Technologies to the vendors in llvm::Triple. 2014-07-18 14:28:19 +00:00
Analysis Merging r222338: 2014-12-08 08:48:09 +00:00
AsmParser
Bitcode Add a dereferenceable attribute 2014-07-18 15:51:28 +00:00
CodeGen Try to make AsmPrinter vtable compatible with previous shared library. 2015-03-13 11:54:32 +00:00
Config Merging r213966: 2014-08-04 18:36:56 +00:00
DebugInfo
ExecutionEngine [RuntimeDyld] Improve error diagnostic in RuntimeDyldChecker. 2014-07-10 23:26:20 +00:00
IR Merging r229352: 2015-03-17 18:09:58 +00:00
IRReader Make a helper function static. No functionality change. 2014-07-05 00:39:08 +00:00
LineEditor
Linker
LTO Implement LTOModule on top of IRObjectFile. 2014-07-04 18:40:36 +00:00
MC [MC] Pass MCSymbolData to needsRelocateWithSymbol 2014-07-20 23:15:06 +00:00
Object Correct the ownership passing semantics of object::createBinary and make them explicit in the type system. 2014-07-21 16:26:24 +00:00
Option Option: Propagate flags from groups to options in each group 2014-07-12 00:18:58 +00:00
ProfileData
Support [PowerPC] ELFv2 MC support for .localentry directive 2014-07-20 23:06:03 +00:00
TableGen
Target Merged from r221518: 2014-12-01 17:05:38 +00:00
Transforms MergedLoadStoreMotion pass 2014-07-18 19:13:09 +00:00
CMakeLists.txt
InitializePasses.h Templatify RegionInfo so it works on MachineBasicBlocks 2014-07-19 18:29:29 +00:00
LinkAllIR.h
LinkAllPasses.h MergedLoadStoreMotion pass 2014-07-18 19:13:09 +00:00
module.modulemap
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassManager.h
PassRegistry.h
PassSupport.h