[llvm-commits] [llvm] r96949 - /llvm/trunk/examples/Makefile

Garrison Venn gvenn.cfe.dev at gmail.com
Tue Feb 23 08:27:59 PST 2010


Author: gvenn
Date: Tue Feb 23 10:27:59 2010
New Revision: 96949

URL: http://llvm.org/viewvc/llvm-project?rev=96949&view=rev
Log:
Modified examples Makefile to only build the ExceptionDemo example for 
x86 and x86_64 on UNIX systems. Only OS X 10.6.2 (x86_64) and 32bit CentOS 5.2
with gcc 4.1.2 were tested. ARM UNIX build triggered failure motivating this
modification, as it seems that the ARM ABI does not support _Unwind_GetIP(...),
_Unwind_SetGR(...), and _Unwind_SetIP(...). From doing a quick browse of:
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0038a/IHI0038A_ehabi.pdf,
it seems as if all other exception related apis are supported. Looks like
the port can be done to ARM. Thanks to Xerxes RĂ„nby <xerxes at zafena.se> for
pointing out this error.

Modified:
    llvm/trunk/examples/Makefile

Modified: llvm/trunk/examples/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/examples/Makefile?rev=96949&r1=96948&r2=96949&view=diff
==============================================================================
--- llvm/trunk/examples/Makefile (original)
+++ llvm/trunk/examples/Makefile Tue Feb 23 10:27:59 2010
@@ -17,7 +17,12 @@
 endif
 
 ifeq ($(LLVM_ON_UNIX),1)
-PARALLEL_DIRS += ExceptionDemo
+    ifeq ($(ARCH),x86)
+	PARALLEL_DIRS += ExceptionDemo
+    endif
+    ifeq ($(ARCH),x86_64)
+	PARALLEL_DIRS += ExceptionDemo
+    endif
 endif
 
 include $(LEVEL)/Makefile.common





More information about the llvm-commits mailing list