aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-01-22 22:17:51 +0000
committerAlp Toker <alp@nuanti.com>2014-01-22 22:17:51 +0000
commit912d49b106669862160eca7b7570780d09a508fe (patch)
treed036cf5c72c8b32ca96bb2496c781f0571bf203b /llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
parent20fcda7162fd6a993a09f1f7438ece546e002f1d (diff)
downloadllvm-912d49b106669862160eca7b7570780d09a508fe.zip
llvm-912d49b106669862160eca7b7570780d09a508fe.tar.gz
llvm-912d49b106669862160eca7b7570780d09a508fe.tar.bz2
Tweak r199835 to use can_execute() instead of exists()
The execution code path crashes if it can't execute the binary so we might as well take precautions here. llvm-svn: 199844
Diffstat (limited to 'llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions