summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-12 21:47:15 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-12 21:47:15 +0000
commit7f045112673c549248c832e975ced7f9f9bee7dc (patch)
treeeb03ec8021e6b3fdad007ff803e4e0732b8b1805
parentfbf3bb6cf06d28a2d40f7e57b0b12e103ee33491 (diff)
downloadbcm5719-llvm-7f045112673c549248c832e975ced7f9f9bee7dc.tar.gz
bcm5719-llvm-7f045112673c549248c832e975ced7f9f9bee7dc.zip
Don't try to build ExceptionDemo on ARM.
The demo uses _Unwind_GetIP which is not available on that platform. llvm-svn: 201261
-rw-r--r--llvm/examples/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/CMakeLists.txt b/llvm/examples/CMakeLists.txt
index 54ee6cc3a3a..f98c403deb0 100644
--- a/llvm/examples/CMakeLists.txt
+++ b/llvm/examples/CMakeLists.txt
@@ -4,7 +4,7 @@ add_subdirectory(HowToUseJIT)
add_subdirectory(Kaleidoscope)
add_subdirectory(ModuleMaker)
-if( NOT WIN32 )
+if( ( NOT WIN32 ) AND ( NOT "${LLVM_NATIVE_ARCH}" STREQUAL "ARM" ) )
add_subdirectory(ExceptionDemo)
endif()
OpenPOWER on IntegriCloud