summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-01 00:03:38 +0000
committerChris Lattner <sabre@nondot.org>2009-03-01 00:03:38 +0000
commit3243ea111e5741b9d57b95f98e31c6ffa9af6b2a (patch)
treed3588861790795faa12cd7640ae8fab4b787ccc7 /clang/lib/CodeGen/CodeGenModule.cpp
parent5d7ede616a9cbf164bd771c428abafd3c03f1cfb (diff)
downloadbcm5719-llvm-3243ea111e5741b9d57b95f98e31c6ffa9af6b2a.tar.gz
bcm5719-llvm-3243ea111e5741b9d57b95f98e31c6ffa9af6b2a.zip
Fix a long-standing bug and misfeature of the disassembler: when dealing with a
stripped .bc file, it didn't make any attempt to try to reuse anonymous types. This causes an amazing type explosion due to types getting duplicated everywhere they are referenced and other problems. This also caused correctness issues, because opaque types are unique for each time they are uttered in the file. This means that stripping a .bc file could produce a .ll file that could not be assembled (e.g. 2009-02-28-StripOpaqueName.ll). This patch fixes both of these issues. llvm-svn: 65738
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud