aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2012-04-13 11:22:18 +0000
committerSylvestre Ledru <sylvestre@debian.org>2012-04-13 11:22:18 +0000
commita10d97ac91bd01ea8f02b9e21c38e3c36446f91c (patch)
tree95dc6e575f4dfc9c05b03d0a3d8c16f2eae02ce6 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parent4215ca7564a6a926b4d24ad0c562bd9e417f8c72 (diff)
downloadllvm-a10d97ac91bd01ea8f02b9e21c38e3c36446f91c.zip
llvm-a10d97ac91bd01ea8f02b9e21c38e3c36446f91c.tar.gz
llvm-a10d97ac91bd01ea8f02b9e21c38e3c36446f91c.tar.bz2
Catch the Python exception when subprocess.Popen is failing.
For example, if llc cannot be found, the full python stacktrace is displayed and no interesting information are provided. + fail the process when an exception occurs llvm-svn: 154665
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions