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 |
Daniel Dunbar
|
024f4be866
Frontend: Support -iframework.
|
14 years ago |
Nick Lewycky
|
ea523d73a6
Wire up support for the controlling the extended dwarf .file directive. With
|
14 years ago |
Douglas Gregor
|
05edf668f0
When building a module, use the macro definitions on the command line
|
14 years ago |
Daniel Dunbar
|
a268fc0f22
Frontend: Replace -nostdinc by -nostdsysteminc (which is just system include
|
14 years ago |
Francois Pichet
|
c91562ce42
Revert r140009, about disabling clang's builtin in -fms-compatibility mode.
|
14 years ago |
Peter Collingbourne
|
ae57eadbc1
OpenCL: add driver/frontend support for precompiled headers
|
14 years ago |
Peter Collingbourne
|
d51e43af0b
CUDA: add -fcuda-is-device flag
|
14 years ago |
Daniel Dunbar
|
88934e85f8
Driver & AST: Implement support for -fpack-struct and -fpack-struct= command
|
14 years ago |
John McCall
|
d1e40d5389
Make -fobjc-nonfragile-abi the -cc1 default, since it's the
|
14 years ago |
Anna Zaks
|
d309528384
[analyzer] Add -analyzer-purge option which can take on multiple values, remove -analyzer-purge=none. (Small refactor as well: move the work of constructing AnalysisManager from the callers to the class itself.)
|
14 years ago |
David Blaikie
|
d6471f7c19
Rename Diagnostic to DiagnosticsEngine as per issue 5397
|
14 years ago |