llvm-project/clang
Akira Hatanaka 416efb5f90 Fix bugs in cpuid.h.
This commit makes two changes:

- Remove the push and pop instructions that were saving and restoring %ebx
  before and after cpuid in 32-bit pic mode. We were doing this to ensure we
  don't lose the GOT address in pic register %ebx, but this isn't necessary
  because the GOT address is kept in a virtual register.

- In 64-bit mode, preserve base register %rbx around cpuid.

This fixes PR20311 and rdar://problem/17686779.

llvm-svn: 218173
2014-09-20 01:31:09 +00:00
..
INPUTS
bindings Expose the CUDA shared attribute to the C API. 2014-08-08 14:59:00 +00:00
docs Change -Wbind-to-temporary-copy from an ExtWarn to an Extension. 2014-09-18 02:09:53 +00:00
examples unique_ptrify JobList::Jobs 2014-09-04 16:04:28 +00:00
include Follow-up to r214408: Warn on other callee-cleanup functions without prototype too. 2014-09-19 23:07:12 +00:00
lib Fix bugs in cpuid.h. 2014-09-20 01:31:09 +00:00
runtime Unify the name of compiler-rt builtins library on Linux. 2014-05-22 21:13:30 +00:00
test Fix bugs in cpuid.h. 2014-09-20 01:31:09 +00:00
tools [OPENMP] Initial parsing/sema analysis of 'target' directive. 2014-09-19 08:19:49 +00:00
unittests clang-format: [JS] add space before operator 'in'. 2014-09-19 10:48:15 +00:00
utils Adding some FIXMEs to the attribute emitter code regarding whether pretty printing enumerators should use quoted string literals, or identifiers. NFC. 2014-09-15 16:16:14 +00:00
www Tests for DR581-600. 2014-09-15 22:56:03 +00:00
.arcconfig Updated phabricator server. 2014-04-07 03:39:55 +00:00
.clang-format
.clang-tidy Add .clang-tidy configuration file to provide LLVM-optimized defaults for clang-tidy. 2014-09-08 13:33:32 +00:00
.gitignore
CMakeLists.txt Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
CODE_OWNERS.TXT Every code owner should be reachable via email, so add one for 2014-09-12 08:05:51 +00:00
INSTALL.txt
LICENSE.TXT
Makefile
ModuleInfo.txt
NOTES.txt Remove trailing spaces 2014-07-13 17:11:45 +00:00
README.txt Remove whitespace from test commit. 2014-07-16 19:10:36 +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.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/