llvm-project/llvm/tools/llvm-upgrade
Reid Spencer 6ee573f523 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
2007-01-05 17:18:58 +00:00
..
.cvsignore Ignore generated files. 2006-11-30 06:37:43 +00:00
Makefile valgrind clean version of llvm-upgrade 2006-12-01 20:36:40 +00:00
UpgradeInternals.h Major update of llvm-upgrade: 2007-01-05 17:18:58 +00:00
UpgradeLexer.cpp regenerate 2007-01-04 18:46:42 +00:00
UpgradeLexer.cpp.cvs Regenerate. 2007-01-02 05:45:11 +00:00
UpgradeLexer.l Major update of llvm-upgrade: 2007-01-05 17:18:58 +00:00
UpgradeLexer.l.cvs Regenerate. 2007-01-02 05:45:11 +00:00
UpgradeParser.cpp regenerate 2007-01-04 18:46:42 +00:00
UpgradeParser.cpp.cvs regenerate 2007-01-04 18:46:42 +00:00
UpgradeParser.h regenerate 2007-01-04 18:46:42 +00:00
UpgradeParser.h.cvs regenerate 2007-01-04 18:46:42 +00:00
UpgradeParser.y Major update of llvm-upgrade: 2007-01-05 17:18:58 +00:00
UpgradeParser.y.cvs regenerate 2007-01-04 18:46:42 +00:00
llvm-upgrade.cpp For PR950: 2006-12-31 06:02:26 +00:00