llvm-project/clang
Evgeniy Stepanov 0876cfb2f4 Cleanup and generalize -shared-libasan.
Summary:
* Rename -shared-libasan to -shared-libsan, keeping the old name as alias.
* Add -static-libsan for targets that default to shared.
* Remove an Android special case. It is now possible (but untested) to use static compiler-rt libraries there.
* Support libclang_rt.ubsan_standalone as a shared library.

Unlike GCC, this change applies -shared-libsan / -static-libsan to all sanitizers.
I don't see a point in multiple flags like -shared-libubsan, considering that most sanitizers
are not compatible with each other, and each link has basically a single shared/static choice.

Reviewers: vitalybuka, kcc, rsmith

Subscribers: srhines, cfe-commits

Differential Revision: https://reviews.llvm.org/D38525

llvm-svn: 315015
2017-10-05 20:14:00 +00:00
..
INPUTS
bindings bindings: expose Linkage to the python bindings 2017-09-22 18:35:09 +00:00
cmake [CMake] Minor updates to Apple CMake caches 2017-10-03 21:59:53 +00:00
docs [docs][refactor] Add refactoring engine design documentation 2017-09-29 12:21:38 +00:00
examples
include Cleanup and generalize -shared-libasan. 2017-10-05 20:14:00 +00:00
lib Cleanup and generalize -shared-libasan. 2017-10-05 20:14:00 +00:00
runtime Resubmit "[lit] Force site configs to run before source-tree configs" 2017-09-15 22:10:46 +00:00
test Cleanup and generalize -shared-libasan. 2017-10-05 20:14:00 +00:00
tools Dependent Address Space Support 2017-10-02 06:25:51 +00:00
unittests Add std::move in RefactoringActionRulesTest.cpp 2017-10-02 19:02:42 +00:00
utils [Analyzer Tests] Run static analyzer integration tests until the end, 2017-10-05 17:32:06 +00:00
www [Analyzer] Document a gotcha: for C++ -analyze-function requires parameters in function name 2017-09-30 00:07:22 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt Don't search libxml2 if using msan. LLVM already has similar check. 2017-09-02 03:53:42 +00:00
CODE_OWNERS.TXT
INSTALL.txt
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.txt Test commit access in clang. 2017-09-03 15:29:38 +00:00

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.llvm.org/mailman/listinfo/cfe-dev

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