llvm-project/clang
Eric Christopher fc3ee566eb Add -g to the cc1as flags only if we're dealing with an original
source file. Otherwise -g -save-temps will error out on the compile
of any .c file.

Fixes about 4000 of the errors in the clang-tests gdb test suite.

llvm-svn: 147819
2012-01-10 00:38:01 +00:00
..
INPUTS Enhance the CFG construction to detect no-return destructors for 2011-09-13 06:09:01 +00:00
bindings/python Add CXX_FINAL_ATTR, CXX_OVERRIDE_ATTR, ANNOTATE_ATTR and ASM_LABEL_ATTR to the 2011-12-30 15:27:22 +00:00
docs [asan] mention -fno-omit-frame-pointer in the docs 2012-01-06 17:35:27 +00:00
examples remove unneeded config.h includes 2011-12-22 22:49:47 +00:00
include objc++: patch for IRgen for atomic properties of 2012-01-10 00:37:01 +00:00
lib Add -g to the cc1as flags only if we're dealing with an original 2012-01-10 00:38:01 +00:00
runtime runtime/Linux: Include the profile and ASAN libs on x86. 2011-12-07 19:35:10 +00:00
test Add -g to the cc1as flags only if we're dealing with an original 2012-01-10 00:38:01 +00:00
tools [analyzer] Correct the c++-analyzer symlink 2012-01-06 17:11:23 +00:00
unittests clang/unittests/Basic/SourceManagerTest.cpp: Fixup corresponding to r147387. 2011-12-31 04:25:56 +00:00
utils Remove unused include of VectorExtras.h. 2012-01-07 19:41:22 +00:00
www [analyzer] Update the docs to reflect that gcc is not the only default 2012-01-06 01:54:08 +00:00
.gitignore Revert "Test commit" 2011-10-24 10:03:25 +00:00
CMakeLists.txt Add the Clang tblgen backends to Clang, and flip the switch to cause 2011-10-06 13:03:08 +00:00
INSTALL.txt
LICENSE.TXT Happy new year 2012! 2012-01-01 08:16:56 +00:00
Makefile Add the Clang tblgen backends to Clang, and flip the switch to cause 2011-10-06 13:03:08 +00:00
ModuleInfo.txt
NOTES.txt Make a note about a missing optimization. 2011-07-28 07:41:22 +00:00
README.txt

README.txt

//===----------------------------------------------------------------------===//
// C Language Family Front-end
//===----------------------------------------------------------------------===//

Welcome to Clang.  This is a compiler front-end for the C family of languages
(C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM
compiler infrastructure project.

Unlike many other compiler frontends, Clang is useful for a number of things
beyond just compiling code: we intend for Clang to be host to a number of
different source level tools.  One example of this is the Clang Static Analyzer.

If you're interested in more (including how to build Clang) it is best to read
the relevant web sites.  Here are some pointers:

Information on Clang:              http://clang.llvm.org/
Building and using Clang:          http://clang.llvm.org/get_started.html
Clang Static Analyzer:             http://clang-analyzer.llvm.org/
Information on the LLVM project:   http://llvm.org/

If you have questions or comments about Clang, a great place to discuss them is
on the Clang development mailing list:
  http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

If you find a bug in Clang, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/