summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-upgrade/llvm-upgrade.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-05 17:18:58 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-05 17:18:58 +0000
commit6ee573f5230407ab70db140b5fc5fa07b9df5483 (patch)
tree943e9b7507609308c354a59e4e976f30f3d0f0c3 /llvm/tools/llvm-upgrade/llvm-upgrade.cpp
parentbf48e3c87d306439e27052664ab4c6b583759f2d (diff)
downloadbcm5719-llvm-6ee573f5230407ab70db140b5fc5fa07b9df5483.tar.gz
bcm5719-llvm-6ee573f5230407ab70db140b5fc5fa07b9df5483.zip
Major update of llvm-upgrade:
1. Completely revise the type system so that types are handled as const objects and not created multiple times, cloned, or otherwise copied. This gets around memory issues, saves memory, and also emulates LLVM's no-two-types-of-the-same-shape-created semantics. 2. Adjust the handling of global names. Basically, we cannot rename them for a variety of reasons: linking, forward references, etc. 3. Detect global names that have name conflicts as the result of collapsed type planes or redefinitions that llvm-as no longer accepts. These will produce warnings on stderr and one of the globals will be renamed. 4. Rename ParserInternals.h as UpgradeInternals.h so it doesn't conflict in the debugger with ParserInternals.h from lib/AsmParser. 5. Move the guts of the TypeInfo class into the grammar so we aren't implementing large functions in a header file. This also helps with debugging a bit. llvm-svn: 32906
Diffstat (limited to 'llvm/tools/llvm-upgrade/llvm-upgrade.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud