OSDN Git Service

For PR411:
authorReid Spencer <rspencer@reidspencer.com>
Mon, 5 Feb 2007 20:47:22 +0000 (20:47 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 5 Feb 2007 20:47:22 +0000 (20:47 +0000)
commitef9b9a793949469cdaa4ab6d0173136229dcab7b
tree137b30d24ba219e5e745a11abb3807a9c4964aaa
parent15468bfc22302b4f79300252425d74cd6865f8b1
For PR411:
This patch replaces the SymbolTable class with ValueSymbolTable which does
not support types planes. This means that all symbol names in LLVM must now
be unique. The patch addresses the necessary changes to deal with this and
removes code no longer needed as a result. This completes the bulk of the
changes for this PR. Some cleanup patches will follow.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33918 91177308-0d34-0410-b5e6-96231b3b80d8
74 files changed:
include/llvm/Bytecode/BytecodeHandler.h
include/llvm/Function.h
include/llvm/LinkAllPasses.h
include/llvm/Module.h
include/llvm/SymbolTable.h [deleted file]
include/llvm/Transforms/IPO.h
include/llvm/Value.h
include/llvm/ValueSymbolTable.h
lib/AsmParser/Lexer.cpp.cvs
lib/AsmParser/llvmAsmParser.cpp.cvs
lib/AsmParser/llvmAsmParser.h.cvs
lib/AsmParser/llvmAsmParser.y
lib/AsmParser/llvmAsmParser.y.cvs
lib/Bytecode/Reader/Analyzer.cpp
lib/Bytecode/Reader/Reader.cpp
lib/Bytecode/Reader/Reader.h
lib/Bytecode/Writer/SlotCalculator.cpp
lib/Bytecode/Writer/SlotCalculator.h
lib/Bytecode/Writer/Writer.cpp
lib/Bytecode/Writer/WriterInternals.h
lib/Linker/LinkModules.cpp
lib/Target/CBackend/CBackend.cpp
lib/Transforms/IPO/LoopExtractor.cpp
lib/Transforms/IPO/RaiseAllocations.cpp
lib/Transforms/IPO/StripSymbols.cpp
lib/Transforms/Utils/CloneModule.cpp
lib/VMCore/AsmWriter.cpp
lib/VMCore/Constants.cpp
lib/VMCore/Function.cpp
lib/VMCore/Globals.cpp
lib/VMCore/Instruction.cpp
lib/VMCore/Module.cpp
lib/VMCore/SymbolTable.cpp [deleted file]
lib/VMCore/SymbolTableListTraitsImpl.h
lib/VMCore/Type.cpp
lib/VMCore/Value.cpp
lib/VMCore/ValueSymbolTable.cpp
lib/VMCore/Verifier.cpp
test/Integer/calltest_bt.ll
test/Linker/redefinition.ll [new file with mode: 0644]
test/Transforms/FunctionResolve/.cvsignore [deleted file]
test/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVars.ll [deleted file]
test/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVarsEasier.ll [deleted file]
test/Transforms/FunctionResolve/2002-11-07-RetMismatch.ll [deleted file]
test/Transforms/FunctionResolve/2002-11-09-ExternFn.ll [deleted file]
test/Transforms/FunctionResolve/2003-04-18-ForwardDeclGlobal.ll [deleted file]
test/Transforms/FunctionResolve/2003-05-21-MissingArguments.ll [deleted file]
test/Transforms/FunctionResolve/2003-05-31-AllInternalDecls.ll [deleted file]
test/Transforms/FunctionResolve/2003-05-31-FuncPointerResolve.ll [deleted file]
test/Transforms/FunctionResolve/2003-05-31-InternalDecl.ll [deleted file]
test/Transforms/FunctionResolve/2003-06-18-TypePromotion.ll [deleted file]
test/Transforms/FunctionResolve/2003-07-23-CPR-Reference.ll [deleted file]
test/Transforms/FunctionResolve/2003-08-23-ArgumentWarning.ll [deleted file]
test/Transforms/FunctionResolve/2003-10-21-GlobalResolveHack.ll [deleted file]
test/Transforms/FunctionResolve/2003-11-20-BogusResolveWarning.ll [deleted file]
test/Transforms/FunctionResolve/basictest.ll [deleted file]
test/Transforms/FunctionResolve/dg.exp [deleted file]
test/Transforms/FunctionResolve/retmismatch1.ll [deleted file]
test/Transforms/FunctionResolve/retmismatch2.ll [deleted file]
test/Transforms/FunctionResolve/retmismatch3.ll [deleted file]
tools/bugpoint/CrashDebugger.cpp
tools/bugpoint/ExtractFunction.cpp
tools/bugpoint/Miscompilation.cpp
tools/gccld/GenerateCode.cpp
tools/llvm-extract/llvm-extract.cpp
tools/llvm-ld/Optimize.cpp
tools/llvm-upgrade/UpgradeLexer.cpp.cvs
tools/llvm-upgrade/UpgradeParser.cpp.cvs
tools/llvm-upgrade/UpgradeParser.h.cvs
tools/llvm-upgrade/UpgradeParser.y
tools/llvm-upgrade/UpgradeParser.y.cvs
tools/llvm2cpp/CppWriter.cpp
tools/lto/lto.cpp
tools/opt/opt.cpp