summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGVTables.h
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2018-04-02 20:00:39 +0000
committerReid Kleckner <rnk@google.com>2018-04-02 20:00:39 +0000
commitcbec0269baeaa572bcfb62fdac7dea708d94c1e9 (patch)
tree98af7e672bbecd6da6c94975f3269620ca3f9090 /clang/lib/CodeGen/CGVTables.h
parent227d4399bf32dc87a8307af6f1c86cd5bdde5e08 (diff)
downloadbcm5719-llvm-cbec0269baeaa572bcfb62fdac7dea708d94c1e9.tar.gz
bcm5719-llvm-cbec0269baeaa572bcfb62fdac7dea708d94c1e9.zip
Fix some DenseMap use-after-rehash bugs and hoist MethodVFTableLocation
This re-lands r328845 with fixes for crbug.com/827810. The initial motiviation was to hoist MethodVFTableLocation to global scope so it could be forward declared. In this patch, I noticed that MicrosoftVTableContext uses some risky patterns. It has methods that return references to data stored in DenseMaps. I've made some of them return by value for trivial structs and I've moved some things into separate allocations. llvm-svn: 329007
Diffstat (limited to 'clang/lib/CodeGen/CGVTables.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud