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
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
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
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
GVMaterializer.cpp
InlineAsm.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
Instruction.cpp
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
LLVMContextImpl.cpp
LLVMContextImpl.h
Makefile
Metadata.cpp
Module.cpp
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