diff options
| author | Tim Northover <tnorthover@apple.com> | 2017-01-20 23:25:17 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2017-01-20 23:25:17 +0000 |
| commit | 7f3ad2e07b3bae3f1801ae5872714e8bd86f3589 (patch) | |
| tree | 72fa7bd6c00f1b80d140e8f06752879ee65e66f9 /llvm/lib/Support | |
| parent | 67addbcacf17afd4ec38f612506f678449f9aae1 (diff) | |
| download | bcm5719-llvm-7f3ad2e07b3bae3f1801ae5872714e8bd86f3589.tar.gz bcm5719-llvm-7f3ad2e07b3bae3f1801ae5872714e8bd86f3589.zip | |
GlobalISel: prevent heap use-after-free when looking up VReg.
Translating the constant can create more VRegs, which can invalidate the
reference into the DenseMap. So we have to look up the value again after all
that's happened.
llvm-svn: 292675
Diffstat (limited to 'llvm/lib/Support')
0 files changed, 0 insertions, 0 deletions

