summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclObjC.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-11-18 01:03:56 +0000
committerBill Wendling <isanbard@gmail.com>2009-11-18 01:03:56 +0000
commitdfd8daaf61a9037cb80b51fd4c944cb225feb633 (patch)
treedb26e255f9e8997c5a056236a43f83447ad461e5 /clang/lib/AST/DeclObjC.cpp
parent6a976bbcb739aaa6d8dd82151f1d6399b5ad874f (diff)
downloadbcm5719-llvm-dfd8daaf61a9037cb80b51fd4c944cb225feb633.tar.gz
bcm5719-llvm-dfd8daaf61a9037cb80b51fd4c944cb225feb633.zip
The llvm-gcc front-end and the pass manager use two separate TargetData objects.
This is probably not confined to *just* these two things. Anyway, the llvm-gcc front-end may look up the structure layout information for an abstract type. That information will be stored into a table with the FE's TD. Instruction combine can come along and also ask for information on that abstract type, but for a separate TD (the one associated with the pass manager). After the type is refined, the old structure layout information in the pass manager's TD file is out of date. If a new type is allocated in the same space as the old-unrefined type, then the structure type information in the pass manager's TD file will be wrong, but won't know it. Fix this by making the TD's structure type information an abstract type user. llvm-svn: 89176
Diffstat (limited to 'clang/lib/AST/DeclObjC.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud