[llvm-commits] [dragonegg] r102864 - in /dragonegg/trunk/unknown: ./ llvm-os.h llvm-target.cpp
Duncan Sands
baldrick at free.fr
Sun May 2 08:02:24 PDT 2010
Author: baldrick
Date: Sun May 2 10:02:24 2010
New Revision: 102864
URL: http://llvm.org/viewvc/llvm-project?rev=102864&view=rev
Log:
If we failed to determine the target os or architecture, then die
with an error message rather than failing obscurely.
Added:
dragonegg/trunk/unknown/
dragonegg/trunk/unknown/llvm-os.h
dragonegg/trunk/unknown/llvm-target.cpp
Added: dragonegg/trunk/unknown/llvm-os.h
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/unknown/llvm-os.h?rev=102864&view=auto
==============================================================================
--- dragonegg/trunk/unknown/llvm-os.h (added)
+++ dragonegg/trunk/unknown/llvm-os.h Sun May 2 10:02:24 2010
@@ -0,0 +1 @@
+#error Unknown target operating system
Added: dragonegg/trunk/unknown/llvm-target.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/unknown/llvm-target.cpp?rev=102864&view=auto
==============================================================================
--- dragonegg/trunk/unknown/llvm-target.cpp (added)
+++ dragonegg/trunk/unknown/llvm-target.cpp Sun May 2 10:02:24 2010
@@ -0,0 +1 @@
+#error Unknown target architecture
More information about the llvm-commits
mailing list