diff options
author | Vitaly Buka <vitalybuka@google.com> | 2022-03-29 18:35:55 -0700 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2022-03-30 02:08:13 -0700 |
commit | 15972e37bad05b516f78f7879efb85521e4501b3 (patch) | |
tree | ec404b3e18e2ba2897c81eff26003c064965782a /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | 6ae13b74d6cf02593e892323cae7c322911d497a (diff) | |
download | llvm-15972e37bad05b516f78f7879efb85521e4501b3.zip llvm-15972e37bad05b516f78f7879efb85521e4501b3.tar.gz llvm-15972e37bad05b516f78f7879efb85521e4501b3.tar.bz2 |
[CodeGen] Avoid access after runtime
Insts must be destroyd before xParent
or it can read it with stack like this:
0 in llvm::MachineInstr::getMF() const MachineInstr.cpp:637:3
1 in getMF MachineInstr.h:302:50
2 in removeNodeFromList MachineBasicBlock.cpp:163:32
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions