summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/StackColoring.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-05-17 00:24:14 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-05-17 00:24:14 +0000
commit26342f915bd615900c652afd3c807a4fc195ac9f (patch)
tree1893d297ea1cf44fa0484cc6481b9a5d75da1667 /llvm/lib/CodeGen/StackColoring.cpp
parent9c99faa8563c11895b44d8e59c1a96216dfb17f7 (diff)
downloadbcm5719-llvm-26342f915bd615900c652afd3c807a4fc195ac9f.tar.gz
bcm5719-llvm-26342f915bd615900c652afd3c807a4fc195ac9f.zip
[modules] When creating a declaration, cache its owning module immediately
rather than waiting until it's queried. Currently this is only applied to local submodule visibility mode, as we don't yet allocate storage for the owning module in non-local-visibility modules compilations. This reinstates r302965, reverted in r303037, with a fix for the reported crash, which occurred when reparenting a local declaration to be a child of a hidden imported declaration (specifically during template instantiation). llvm-svn: 303224
Diffstat (limited to 'llvm/lib/CodeGen/StackColoring.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud