aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-15 15:06:39 +0000
committerChris Lattner <sabre@nondot.org>2003-09-15 15:06:39 +0000
commitfc01114c65c66f9a16657d4060581da8e5fa2e27 (patch)
tree040f149b4d6045826c60bfb0cf1e56de4d879225
parent8248f11d26b28cdefd064ad5c3081834998d93ae (diff)
downloadexternal_llvm-fc01114c65c66f9a16657d4060581da8e5fa2e27.zip
external_llvm-fc01114c65c66f9a16657d4060581da8e5fa2e27.tar.gz
external_llvm-fc01114c65c66f9a16657d4060581da8e5fa2e27.tar.bz2
Move the exception handling runtime stuff into this directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8530 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--runtime/GCCLibraries/crtend/Makefile7
-rw-r--r--runtime/GCCLibraries/crtend/exported_symbol_list.lst29
2 files changed, 33 insertions, 3 deletions
diff --git a/runtime/GCCLibraries/crtend/Makefile b/runtime/GCCLibraries/crtend/Makefile
index 9bfb9d1..f542f53 100644
--- a/runtime/GCCLibraries/crtend/Makefile
+++ b/runtime/GCCLibraries/crtend/Makefile
@@ -3,9 +3,9 @@ BYTECODE_LIBRARY=1
DONT_BUILD_RELINKED=1
LIBRARYNAME=crtend
-Source = crtend.c listend.ll
+Source = $(wildcard *.cpp) $(wildcard *.c) listend.ll
-EXPORTED_SYMBOL_LIST = __main,llvm.global_ctors,llvm.global_dtors
+EXPORTED_SYMBOL_FILE = exported_symbol_list.lst
include $(LEVEL)/Makefile.common
@@ -14,4 +14,5 @@ $(LLVMGCCDIR)/bytecode-libs/crtend.o: $(LIBNAME_BC)
@cp $< $@
install:: $(LLVMGCCDIR)/bytecode-libs/crtend.o
- @rm $(LLVMGCCDIR)/bytecode-libs/libcrtend.bc \ No newline at end of file
+ @rm $(LLVMGCCDIR)/bytecode-libs/libcrtend.bc
+
diff --git a/runtime/GCCLibraries/crtend/exported_symbol_list.lst b/runtime/GCCLibraries/crtend/exported_symbol_list.lst
new file mode 100644
index 0000000..df12cc8
--- /dev/null
+++ b/runtime/GCCLibraries/crtend/exported_symbol_list.lst
@@ -0,0 +1,29 @@
+__main
+llvm.global_ctors
+llvm.global_dtors
+
+__llvm_eh_has_uncaught_exception
+__llvm_eh_current_uncaught_exception_type
+__llvm_eh_add_uncaught_exception
+__llvm_eh_get_uncaught_exception
+__llvm_eh_pop_from_uncaught_stack
+
+__llvm_cxxeh_allocate_exception
+__llvm_cxxeh_free_exception
+__llvm_cxxeh_throw
+__llvm_cxxeh_call_terminate
+__llvm_cxxeh_current_uncaught_exception_isa
+__llvm_cxxeh_begin_catch
+__llvm_cxxeh_begin_catch_if_isa
+__llvm_cxxeh_end_catch
+__llvm_cxxeh_rethrow
+__llvm_cxxeh_get_last_caught
+__llvm_cxxeh_check_eh_spec
+
+__llvm_sjljeh_throw_longjmp
+__llvm_sjljeh_init_setjmpmap
+__llvm_sjljeh_destroy_setjmpmap
+__llvm_sjljeh_add_setjmp_to_map
+__llvm_sjljeh_is_longjmp_exception
+__llvm_sjljeh_get_longjmp_value
+__llvm_sjljeh_try_catching_longjmp_exception