llvm-6502/include/llvm
Argyrios Kyrtzidis 6d5502eb49 Add asserts in StringRef to make sure we avoid undefined behavior:
-strlen should not be called with NULL. Also guarantee that StringRef's Length is 0 if Data is NULL.
-memcmp should not be called with NULL (even if size is 0)

Patch by Matthieu Monrocq!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131747 91177308-0d34-0410-b5e6-96231b3b80d8
2011-05-20 19:24:12 +00:00
..
ADT Add asserts in StringRef to make sure we avoid undefined behavior: 2011-05-20 19:24:12 +00:00
Analysis indvars: Prototyping Sign/ZeroExtend elimination without canonical IVs. 2011-05-20 18:25:42 +00:00
Assembly
Bitcode
CodeGen Frame indices are signed. Update MachineOperand methods accordingly. 2011-05-17 18:29:21 +00:00
CompilerDriver llvmc: Make 'true' and 'false' instances of a 'Bool' class. 2011-05-05 04:25:03 +00:00
Config
ExecutionEngine ExecutionEngine: push TargetMachine creation into clients (v2) 2011-05-13 21:51:29 +00:00
MC Misc code refactorings: 2011-05-19 21:40:34 +00:00
Object
Support Fix up the new StandardPasses to run the same scalarrepl passes as the old one. 2011-05-19 19:14:54 +00:00
Target Revert commit 131534 since it seems to have broken several buildbots. 2011-05-18 14:57:56 +00:00
Transforms Conditionalize the format of the GCOV files by target type. Darwin uses the 4.2 2011-05-17 23:05:13 +00:00
AbstractTypeUser.h
Argument.h
Attributes.h
AutoUpgrade.h
BasicBlock.h
CallGraphSCCPass.h
CallingConv.h
CMakeLists.txt
Constant.h
Constants.h
DebugInfoProbe.h
DefaultPasses.h Remove noisy semicolons. 2011-05-20 09:20:25 +00:00
DerivedTypes.h
Function.h Don't do tail calls in a function that call setjmp. The stack might be 2011-05-16 03:05:33 +00:00
GlobalAlias.h
GlobalValue.h
GlobalVariable.h
GVMaterializer.h
InitializePasses.h
InlineAsm.h
InstrTypes.h
Instruction.def
Instruction.h
Instructions.h
IntrinsicInst.h
Intrinsics.h
Intrinsics.td Give the 'eh.sjlj.dispatchsetup' intrinsic call the value coming from the setjmp 2011-05-11 01:11:55 +00:00
IntrinsicsAlpha.td
IntrinsicsARM.td
IntrinsicsCellSPU.td
IntrinsicsPowerPC.td
IntrinsicsPTX.td
IntrinsicsX86.td Remove dead intrinsics. 2011-05-04 02:40:54 +00:00
IntrinsicsXCore.td
LinkAllPasses.h Conditionalize the format of the GCOV files by target type. Darwin uses the 4.2 2011-05-17 23:05:13 +00:00
LinkAllVMCore.h
Linker.h
LLVMContext.h
Metadata.h
Module.h
OperandTraits.h
Operator.h PR9869: Add explicit destructor declarations to Operator subclasses, to allow 2011-05-08 01:59:22 +00:00
Pass.h
PassAnalysisSupport.h
PassManager.h
PassManagers.h
PassRegistry.h
PassSupport.h Revert r131155 for now. It makes VMCore depend on Analysis and Transforms 2011-05-10 22:16:06 +00:00
SymbolTableListTraits.h
Type.h Make codegen able to handle values of empty types. This is one way 2011-05-13 15:18:06 +00:00
TypeSymbolTable.h
Use.h
User.h
Value.h
ValueSymbolTable.h