diff options
author | Garrison Venn <gvenn.cfe.dev@gmail.com> | 2010-02-23 16:27:59 +0000 |
---|---|---|
committer | Garrison Venn <gvenn.cfe.dev@gmail.com> | 2010-02-23 16:27:59 +0000 |
commit | b8714e04d4a40858953202e30fae1ac9506e8dcd (patch) | |
tree | ebe4ef63de6386c626c6ec85388e6ea536cd2b64 /examples/Makefile | |
parent | c15dd730824bebc1ec03c46430fb101f19094ca3 (diff) | |
download | external_llvm-b8714e04d4a40858953202e30fae1ac9506e8dcd.zip external_llvm-b8714e04d4a40858953202e30fae1ac9506e8dcd.tar.gz external_llvm-b8714e04d4a40858953202e30fae1ac9506e8dcd.tar.bz2 |
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
Diffstat (limited to 'examples/Makefile')
-rw-r--r-- | examples/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile index fc3a7d4..0737eaf 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -17,7 +17,12 @@ PARALLEL_DIRS += ParallelJIT 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 |