diff options
author | Rui Ueyama <ruiu@google.com> | 2013-11-15 22:11:43 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2013-11-15 22:11:43 +0000 |
commit | fbd82d0813b32389ec194824b10ef12d864766f6 (patch) | |
tree | 30ca95ab36385d9ee006c49dd37e924c286c4043 /llvm/lib/CodeGen/MachineVerifier.cpp | |
parent | 515b1daad3a79f3e9324ee72aad0c62c29eca83c (diff) | |
download | llvm-fbd82d0813b32389ec194824b10ef12d864766f6.zip llvm-fbd82d0813b32389ec194824b10ef12d864766f6.tar.gz llvm-fbd82d0813b32389ec194824b10ef12d864766f6.tar.bz2 |
[PECOFF] Use INT3 instead of NOP.
This patch does not change the meaning of the program, but if something's wrong
in the linker or the compiler and the control reaches to the gap of imported
function table, it will stop immediately because of the presence of INT3. If
NOP, it'd fall through to the next call instruction, which is usually a
completely foreign function call.
llvm-svn: 194860
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions