diff options
author | Chad Rosier <mcrosier@apple.com> | 2013-03-27 00:14:35 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2013-03-27 00:14:35 +0000 |
commit | a03fc6e249e1662f879467f66c49a3c866850773 (patch) | |
tree | 978827e783933d6172e4a642cdbe3489380856cf /include/clang/Basic/DiagnosticFrontendKinds.td | |
parent | 5035c483b7fcbf0fa2a7afba24fa35a10995d195 (diff) | |
download | clang-a03fc6e249e1662f879467f66c49a3c866850773.tar.gz clang-a03fc6e249e1662f879467f66c49a3c866850773.tar.bz2 clang-a03fc6e249e1662f879467f66c49a3c866850773.tar.xz |
If we're unable to create the TargetMachine, then just quit producing the
backend output; there's no need to report a fatal error. This reverts r178042.
Part of rdar://13295753 and rdar://13401547
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178102 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticFrontendKinds.td')
-rw-r--r-- | include/clang/Basic/DiagnosticFrontendKinds.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticFrontendKinds.td b/include/clang/Basic/DiagnosticFrontendKinds.td index 29822683ed..111622e0fe 100644 --- a/include/clang/Basic/DiagnosticFrontendKinds.td +++ b/include/clang/Basic/DiagnosticFrontendKinds.td @@ -42,6 +42,8 @@ def err_fe_unable_to_load_pch : Error< "unable to load PCH file">; def err_fe_unable_to_load_plugin : Error< "unable to load plugin '%0': '%1'">; +def err_fe_unable_to_create_target : Error< + "unable to create target: '%0'">; def err_fe_unable_to_interface_with_target : Error< "unable to interface with target machine">; def err_fe_unable_to_open_output : Error< |