llvm-6502/lib/VMCore
Chandler Carruth 7325f06051 Fix a dangling StringRef bug in the auto upgrader. In one case, we reset
CI's name, and then used the StringRef pointing at its old name. I'm
fixing it by storing the name in a std::string, and hoisting the
renaming logic to happen always. This is nicer anyways as it will allow
the upgraded IR to have the same names as the input IR in more cases.

Another bug found by AddressSanitizer. Woot.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160572 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-20 21:09:18 +00:00
..
AsmWriter.cpp MSVC's implementation of isalnum will assert on characters > 255, so we need to use an unsigned char to ensure the integer promotion happens properly. This fixes an assert in debug builds with CodeGen\X86\utf8.ll 2012-07-16 16:18:18 +00:00
Attributes.cpp switch AttrListPtr::get to take an ArrayRef, simplifying a lot of clients. 2012-05-28 01:47:44 +00:00
AutoUpgrade.cpp Fix a dangling StringRef bug in the auto upgrader. In one case, we reset 2012-07-20 21:09:18 +00:00
BasicBlock.cpp
CMakeLists.txt Update the CMake files. 2012-06-29 09:01:47 +00:00
ConstantFold.cpp Remove tabs. 2012-07-19 00:11:40 +00:00
ConstantFold.h
Constants.cpp Fixed few warnings; trimmed empty lines. 2012-07-13 01:25:27 +00:00
ConstantsContext.h
Core.cpp Extend the IL for selecting TLS models (PR9788) 2012-06-23 11:37:03 +00:00
DebugInfo.cpp Print the name last. 2012-07-06 23:43:12 +00:00
DebugLoc.cpp Pull the simple parts of DenseMapInfo<DebugLoc> inline and prune includes. 2012-07-19 15:00:34 +00:00
DIBuilder.cpp Remove trailing comma in array initialization list. 2012-07-06 17:49:19 +00:00
Dominators.cpp
Function.cpp
GCOV.cpp Remove tabs. 2012-07-19 00:11:40 +00:00
Globals.cpp Clean-up after r159077. 2012-06-23 12:14:23 +00:00
GVMaterializer.cpp
InlineAsm.cpp
Instruction.cpp Refactor operation equivalence checking in BBVectorize by extending Instruction::isSameOperationAs. 2012-06-28 05:42:26 +00:00
Instructions.cpp PHINode::hasConstantValue(): return undef if the PHI is fully recursive. 2012-07-03 21:15:40 +00:00
IntrinsicInst.cpp
IRBuilder.cpp Remove tabs. 2012-07-19 00:11:40 +00:00
LeakDetector.cpp
LeaksContext.h
LLVMBuild.txt
LLVMContext.cpp revert r158660, since Chris has some issues with this patch (namely using code to reprent information only used by the compiler) 2012-06-18 23:34:26 +00:00
LLVMContextImpl.cpp
LLVMContextImpl.h
Makefile
Metadata.cpp Move the Metadata merging methods from GVN and make them public in MDNode. 2012-06-16 20:33:37 +00:00
Module.cpp simplify code. 2012-05-28 01:37:08 +00:00
Pass.cpp
PassManager.cpp Adding some debug information to PassManager 2012-07-18 19:59:29 +00:00
PassRegistry.cpp
PrintModulePass.cpp
SymbolTableListTraitsImpl.h
Type.cpp
Use.cpp
User.cpp
Value.cpp
ValueSymbolTable.cpp
ValueTypes.cpp
Verifier.cpp make the verifier accept @llvm.donothing as the only intrinsic that can be invoked 2012-06-28 22:57:00 +00:00