Benjamin Kramer
|
ffbe9b9c64
Mass rename C1x references to C11. The name hasn't proliferated like "C++0x" so this patch is surprisingly small.
|
13 years ago |
Dylan Noblesmith
|
8fdb6dee2d
Let CompilerInvocation initialization indicate failure
|
13 years ago |
Richard Smith
|
08d6e032a2
C++11 constexpr: Add note stacks containing backtraces if constant evaluation
|
13 years ago |
Chad Rosier
|
9f6d068b29
Per discussion on the list, remove BitcodeVerify pass to reimplement as a free function.
|
13 years ago |
Chad Rosier
|
ff7892758f
Add frontend flags to enable bitcode verifier pass.
|
13 years ago |
Tony Linthicum
|
9631939f82
Hexagon backend support
|
13 years ago |
Daniel Dunbar
|
001f628a69
Driver: Handle -f{no-}honor-infinities, -f{no-}honor-nans, and
|
13 years ago |
Nick Lewycky
|
4e785c908a
Stack realignment is a tristate. Add -mno-stackrealign to turn off all stack
|
13 years ago |
Joerg Sonnenberger
|
e9d11dbfe1
Add -mstack-alignment=X and fix -mstackrealign handling now that the
|
13 years ago |
Douglas Gregor
|
6649014b79
Eliminate the -emit-module option, which emitted a module by parsing a
|
13 years ago |
Benjamin Kramer
|
85224ae68a
Silence GCC warnings, RefCountedBase is meant to be default-initialized here.
|
13 years ago |
Rafael Espindola
|
4c7ce36a76
Set __OPTIMIZE_SIZE__ on -Os and -Oz. This matches gcc's behaviour on both OS X
|
13 years ago |
Kostya Serebryany
|
b61968857f
implement __has_feature(address_sanitizer); also use LangOpts.AddressSanitizer instead of CodeGenOpts.AddressSanitizer
|
13 years ago |
Richard Smith
|
c18c423456
Add driver arguments -ftemplate-depth=N and -fconstexpr-depth=N, with the same
|
13 years ago |
Ted Kremenek
|
8a0c5c2ec5
Refine placement of LangOptions object in CompilerInvocation by adding a new baseclass CompilerInvocationBase with a custom copy constructor. This ensures that whenever the CompilerInvocation object's copy constructor is used we always clone the LangOptions object.
|
13 years ago |
Ted Kremenek
|
d3b74d9ca4
Make 'LangOptions' in CompilerInvocation a heap-allocated, reference counted object. I discovered that llvm::RefCountedBase<T> has
|
13 years ago |
Kostya Serebryany
|
1b4eca67e0
Add -f[no-]address-sanitizer flag
|
13 years ago |
Douglas Gregor
|
db1cde7dc7
Add support for building a module from a module map to the -cc1
|
13 years ago |
Douglas Gregor
|
b86b8dc7ef
Add a -cc1-level option -fmodule-name=<name>, which will be used when
|
13 years ago |
Chandler Carruth
|
07643086c6
Rip out one of the features I added for the driver-include-management.
|
13 years ago |
Chandler Carruth
|
103accc00c
Fix a significant oversight in my move of MSVC includes to the driver:
|
13 years ago |
Chandler Carruth
|
ac2bc4d220
Add two flags to the CC1 layer that I was hoping to avoid. We need to
|
13 years ago |
Devang Patel
|
033be8bd33
Enable -flimit-debug-info by default. Now, clang lazily emits debug info for structs. Original behavior can be restored using -fno-limit-debug-info.
|
14 years ago |
Douglas Gregor
|
21a25167b8
Fix various minor issues find via unreachable code warnings, from
|
14 years ago |
Eli Friedman
|
19bda3ad8b
Add an option to emulate the strange Apple gcc behavior of #pragma pack.
|
14 years ago |
Sebastian Pop
|
5d8b954842
rename getHostTriple into getDefaultTargetTriple in clang
|
14 years ago |
Peter Collingbourne
|
22a7dfea58
Add support for lazily linking bitcode files (using a new
|
14 years ago |
Ted Kremenek
|
7800212ef2
Start work on SerializedDiagnosticPrinter, a new DiagnosticConsumer that serializes out the diagnostics for a given translation unit to a bit code file. This is a WIP.
|
14 years ago |
Douglas Gregor
|
0bb935c5e7
Make -fms-compatibility imply -fms-extensions. Fixes PR11204.
|
14 years ago |
Nick Lewycky
|
7c4fd9121f
Take DW_AT_comp_dir from $PWD when it's present and starts with a '/'. This is
|
14 years ago |