From e893d649fa4ba38b7325ea3b482b8363176f0263 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 29 Nov 2003 09:22:53 +0000 Subject: [PATCH] Add readme and spiff up makefile header git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10254 91177308-0d34-0410-b5e6-96231b3b80d8 --- runtime/GCCLibraries/crtend/Makefile | 8 +++++++- runtime/GCCLibraries/crtend/README.txt | 15 +++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 runtime/GCCLibraries/crtend/README.txt diff --git a/runtime/GCCLibraries/crtend/Makefile b/runtime/GCCLibraries/crtend/Makefile index 666a88b28a1..361bad002b0 100644 --- a/runtime/GCCLibraries/crtend/Makefile +++ b/runtime/GCCLibraries/crtend/Makefile @@ -1,4 +1,4 @@ -##===- runtime/GCCLibraries/crtend/Makefile ------------------------------*- Makefile -*-===## +##===- runtime/GCCLibraries/crtend/Makefile ----------------*- Makefile -*-===## # # The LLVM Compiler Infrastructure # @@ -6,6 +6,12 @@ # the University of Illinois Open Source License. See LICENSE.TXT for details. # ##===----------------------------------------------------------------------===## +# +# This directory contains the C and C++ runtime libraries for the LLVM GCC +# front-ends. +# +##===----------------------------------------------------------------------===## + LEVEL = ../../.. BYTECODE_LIBRARY=1 DONT_BUILD_RELINKED=1 diff --git a/runtime/GCCLibraries/crtend/README.txt b/runtime/GCCLibraries/crtend/README.txt new file mode 100644 index 00000000000..ff070c442c2 --- /dev/null +++ b/runtime/GCCLibraries/crtend/README.txt @@ -0,0 +1,15 @@ +This directory contains the C and C++ runtime libraries for the LLVM GCC +front-ends. It is composed of four distinct pieces: + +1. __main and static ctor/dtor support. This is used by both C and C++ codes. + +2. Generic EH support routines. This is used by C/C++ programs that use + setjmp/longjmp, and by C++ programs that make use of exceptions. + +3. setjmp/longjmp EH support. This is used by C/C++ programs that call SJLJ. + +4. C++ exception handling runtime support. + +These four components are compiled together into an archive file, so that +applications using a subset of the four do not pull in unnecessary code and +dependencies.