llvm-project/clang
Bob Wilson da1ebedeea PGO: Use the main file name to help distinguish functions with local linkage.
In addition, for all functions, use the name from the llvm::Function to
identify the function in the profile data. Compute that "function name",
including the file name for local functions, once when assigning the PGO
counters and store it in the CodeGenPGO class.

Move the code to add InlineHint and Cold attributes out of StartFunction(),
because the "function name" string isn't available at that point.

llvm-svn: 203075
2014-03-06 04:55:41 +00:00
..
INPUTS
bindings [libclang/python] Use a Python standard library module to create a temporary file. 2014-02-20 07:24:03 +00:00
docs Mention clang-cl in MSVCCompatibility.rst 2014-03-05 20:18:59 +00:00
examples [CMake] Get rid of explicit dependencies to include/clang/*.inc and introduce CLANG_TABLEGEN_TARGETS. 2014-02-21 07:59:59 +00:00
include Tests for DR370-380. 2014-03-05 22:54:58 +00:00
lib PGO: Use the main file name to help distinguish functions with local linkage. 2014-03-06 04:55:41 +00:00
runtime [CMake] Teach build system to build/test compiler-rt with a just-built Clang 2014-02-27 09:09:39 +00:00
test PGO: Use the main file name to help distinguish functions with local linkage. 2014-03-06 04:55:41 +00:00
tools Fix -Wsign-compare warning. 2014-03-04 17:45:43 +00:00
unittests Attempt to re-enable the VFS unittests on Windows 2014-03-05 21:32:20 +00:00
utils [C++11] Using std::unique_ptr to ensure that Argument objects do not leak (since clang-tblgen isn't long-lived, the old leak is probably acceptable, but it offended my senses nonetheless). 2014-03-05 16:49:55 +00:00
www DR status page: add link targets for individual DRs, and link duplicates. 2014-03-05 23:02:47 +00:00
.arcconfig
.clang-format Switch the default mode for clang-format to '-file'. Make 'LLVM' the 2013-09-02 07:42:02 +00:00
.gitignore
CMakeLists.txt We now require Visual C++ 2012 (MSVC_VERSION = 1700) or later to build LLVM. 2014-03-04 09:12:17 +00:00
CODE_OWNERS.TXT Adding myself as the code owner for the attribute subsystem. 2014-01-13 22:23:27 +00:00
INSTALL.txt
LICENSE.TXT Update the copyright credits -- Happy new year 2014! 2014-01-01 08:27:31 +00:00
Makefile Define ENABLE_CLANG_EXAMPLES instead of relying on BUILD_EXAMPLES 2014-01-08 13:00:32 +00:00
ModuleInfo.txt
NOTES.txt
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/