llvm.org GIT mirror llvm / c80a1f7
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@zafena.se> for pointing out this error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96949 91177308-0d34-0410-b5e6-96231b3b80d8 Garrison Venn 9 years ago
1 changed file(s) with 6 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1616 endif
1717
1818 ifeq ($(LLVM_ON_UNIX),1)
19 PARALLEL_DIRS += ExceptionDemo
19 ifeq ($(ARCH),x86)
20 PARALLEL_DIRS += ExceptionDemo
21 endif
22 ifeq ($(ARCH),x86_64)
23 PARALLEL_DIRS += ExceptionDemo
24 endif
2025 endif
2126
2227 include $(LEVEL)/Makefile.common