History log of /llvm-project/clang/lib/Frontend/CompilerInvocation.cpp (Results 1401 – 1425 of 1971)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-3.4.1-rc1
# 962b38e4 11-Apr-2014 Daniel Jasper <djasper@google.com>

Add -fmodules-strict-decluse to check that all headers are in modules

Review: http://reviews.llvm.org/D3335
llvm-svn: 206027


# 7e2fd943 27-Mar-2014 David Blaikie <dblaikie@gmail.com>

Support for -Wa,-compress-debug-sections.

Also, while I'm here, support -nocompress-debug-sections too.

llvm-svn: 204959


# 18fa48c9 26-Mar-2014 Alexander Kornienko <alexfh@google.com>

Move the -i[no-]system-prefix options from CC1Options.td to Options.td.

Summary:
This allows them to be used without -cc1 the same way as -I and -isystem.
Renamed the options to --system-header-pref

Move the -i[no-]system-prefix options from CC1Options.td to Options.td.

Summary:
This allows them to be used without -cc1 the same way as -I and -isystem.
Renamed the options to --system-header-prefix=/--no-system-header-prefix to avoid interference with -isystem and make the intent of the option cleaner.

Reviewers: rsmith

Reviewed By: rsmith

CC: cfe-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D3185

llvm-svn: 204775

show more ...


# 2bfcaabd 20-Mar-2014 Evgeniy Stepanov <eugeni.stepanov@gmail.com>

[msan] -fsanitize-memory-track-origins=[level] flag and docs.

This change turns -fsanitize-memory-track-origins into
-fsanitize-memory-track-origins=[level] flag (keeping the old one for
compatibili

[msan] -fsanitize-memory-track-origins=[level] flag and docs.

This change turns -fsanitize-memory-track-origins into
-fsanitize-memory-track-origins=[level] flag (keeping the old one for
compatibility). Possible levels are 0 (off), 1 (default) and 2 (incredibly
detailed). See docs (part of this patch) for more info.

llvm-svn: 204346

show more ...


# fcdc45ff 18-Mar-2014 Yunzhong Gao <Yunzhong_Gao@playstation.sony.com>

Creating a printing policy for "half":
Since "half" is an OpenCL keyword and clang accepts __fp16 as an extension for
other languages, error messages and metadata (and hence debug info) should refer

Creating a printing policy for "half":
Since "half" is an OpenCL keyword and clang accepts __fp16 as an extension for
other languages, error messages and metadata (and hence debug info) should refer
to the half-precision floating point as "__fp16" instead of "half" when
compiling for non-OpenCL languages. This patch creates a new printing policy for
half in a similar manner to what is done for bool and wchar_t.

Differential Revision: http://llvm-reviews.chandlerc.com/D2952

llvm-svn: 204164

show more ...


# 6d0753d4 14-Mar-2014 Argyrios Kyrtzidis <akyrtzi@gmail.com>

[Modules] Emit the module file paths as dependencies of the PCH when we are building one.

This is because the PCH is tied to the module files, if one of the module files changes or gets removed
the

[Modules] Emit the module file paths as dependencies of the PCH when we are building one.

This is because the PCH is tied to the module files, if one of the module files changes or gets removed
the build system should re-build the PCH file.

rdar://16321245

llvm-svn: 203885

show more ...


# dcf73861 12-Mar-2014 Ben Langmuir <blangmuir@apple.com>

Add an option -fmodules-validate-system-headers

When enabled, always validate the system headers when loading a module.
The end result of this is that when these headers change, we will notice
and r

Add an option -fmodules-validate-system-headers

When enabled, always validate the system headers when loading a module.
The end result of this is that when these headers change, we will notice
and rebuild the module.

llvm-svn: 203630

show more ...


# dfca6f97 09-Mar-2014 Ahmed Charles <ahmedcharles@gmail.com>

[C++11] Replace OwningPtr include with <memory>.

llvm-svn: 203389


# b8984329 07-Mar-2014 Ahmed Charles <ahmedcharles@gmail.com>

Replace OwningPtr with std::unique_ptr.

This compiles cleanly with lldb/lld/clang-tools-extra/llvm.

llvm-svn: 203279


# 186b28a8 06-Mar-2014 Alexey Bataev <a.bataev@hotmail.com>

[OPENMP] Added option -fopenmp=libiomp5|libgomp

llvm-svn: 203081


# 1594c155 03-Mar-2014 Argyrios Kyrtzidis <akyrtzi@gmail.com>

Introduce '-fmodules-user-build-path' which accepts the "canonical" path to a user workspace build.

This is used to avoid conflicts with user modules with the same name from different workspaces.

r

Introduce '-fmodules-user-build-path' which accepts the "canonical" path to a user workspace build.

This is used to avoid conflicts with user modules with the same name from different workspaces.

rdar://16042513

llvm-svn: 202683

show more ...


# 4527fb2f 02-Mar-2014 Benjamin Kramer <benny.kra@googlemail.com>

[C++11] Use std::atomic instead of LLVM's.

No intended functionality change.

llvm-svn: 202652


# 867ea1d4 02-Mar-2014 Benjamin Kramer <benny.kra@googlemail.com>

[C++11] Replace llvm::tie with std::tie.

llvm-svn: 202639


# 801272a9 25-Feb-2014 Ben Langmuir <blangmuir@apple.com>

Add a driver option -ivfsoverlay

Reads the description of a virtual filesystem from a file and overlays
it over the real file system.

llvm-svn: 202176


# c9b5f35e 24-Feb-2014 Richard Barton <richard.barton@arm.com>

Implement -fno-short-wchar

llvm-svn: 202058


# cfeb90d7 23-Feb-2014 Saleem Abdulrasool <compnerd@compnerd.org>

clang: add -f{no-,}integrate-as as consistent parameters

The integrated assembler is a feature. This makes the new flags the default
option, and the previous versions aliases. Ideally, at some poi

clang: add -f{no-,}integrate-as as consistent parameters

The integrated assembler is a feature. This makes the new flags the default
option, and the previous versions aliases. Ideally, at some point the aliases
would be entirely removed.

llvm-svn: 201963

show more ...


# 33ebd217 21-Feb-2014 Rafael Espindola <rafael.espindola@gmail.com>

Accept -no-integrated-as in -cc1 and forward it to llvm.

llvm-svn: 201837


# c0dca6de 12-Feb-2014 Reid Kleckner <reid@kleckner.net>

MS ABI: Implement #pragma vtordisp() and clang-cl /vdN

These features are new in VS 2013 and are necessary in order to layout
std::ostream correctly. Currently we have an ABI incompatibility when
s

MS ABI: Implement #pragma vtordisp() and clang-cl /vdN

These features are new in VS 2013 and are necessary in order to layout
std::ostream correctly. Currently we have an ABI incompatibility when
self-hosting with the 2013 stdlib in our convertible_fwd_ostream wrapper
in gtest.

This change adds another implicit attribute, MSVtorDispAttr, because
implicit attributes are currently the best way to make sure the
information stays on class templates through instantiation.

Reviewers: majnemer

Differential Revision: http://llvm-reviews.chandlerc.com/D2746

llvm-svn: 201274

show more ...


# f430da4d 12-Feb-2014 Dmitri Gribenko <gribozavr@gmail.com>

Add an option to allow Clang verify source files for a module only once during
the build

When Clang loads the module, it verifies the user source files that the module
was built from. If any file w

Add an option to allow Clang verify source files for a module only once during
the build

When Clang loads the module, it verifies the user source files that the module
was built from. If any file was changed, the module is rebuilt. There are two
problems with this:
1. correctness: we don't verify system files (there are too many of them, and
stat'ing all of them would take a lot of time);
2. performance: the same module file is verified again and again during a
single build.

This change allows the build system to optimize source file verification. The
idea is based on the fact that while the project is being built, the source
files don't change. This allows us to verify the module only once during a
single build session. The build system passes a flag,
-fbuild-session-timestamp=, to inform Clang of the time when the build started.
The build system also requests to enable this feature by passing
-fmodules-validate-once-per-build-session. If these flags are not passed, the
behavior is not changed. When Clang verifies the module the first time, it
writes out a timestamp file. Then, when Clang loads the module the second
time, it finds a timestamp file, so it can compare the verification timestamp
of the module with the time when the build started. If the verification
timestamp is too old, the module is verified again, and the timestamp file is
updated.

llvm-svn: 201224

show more ...


# 86c318f4 11-Feb-2014 David Majnemer <david.majnemer@gmail.com>

MS ABI: Add support for the -vm{b,g,s,m,v} flags

These flags control the inheritance model initially used by the
translation unit.

Differential Revision: http://llvm-reviews.chandlerc.com/D2741

ll

MS ABI: Add support for the -vm{b,g,s,m,v} flags

These flags control the inheritance model initially used by the
translation unit.

Differential Revision: http://llvm-reviews.chandlerc.com/D2741

llvm-svn: 201175

show more ...


# e0fc1a80 11-Feb-2014 Josh Magee <joshua_magee@playstation.sony.com>

[stackprotector] Add command line option -fstack-protector-strong

This option has the following effects:
* It adds the sspstrong IR attribute to each function within the CU.
* It defines the macro

[stackprotector] Add command line option -fstack-protector-strong

This option has the following effects:
* It adds the sspstrong IR attribute to each function within the CU.
* It defines the macro __SSP_STRONG__ with the value of 2.

Differential Revision: http://llvm-reviews.chandlerc.com/D2717

llvm-svn: 201120

show more ...


# 8f80a619 08-Feb-2014 John McCall <rjmccall@apple.com>

Remove the -fhidden-weak-vtables -cc1 option. It was dead,
gross, and increasingly replaced through other mechanisms.

llvm-svn: 201011


# 2cb4a78f 05-Feb-2014 Ben Langmuir <blangmuir@apple.com>

Add a CC1 option -verify-pch

This option will:
- load the given pch file
- verify it is not out of date by stat'ing dependencies, and
- return 0 on success and non-zero on error

llvm-svn: 200884


# d04b861e 16-Jan-2014 Evgeniy Stepanov <eugeni.stepanov@gmail.com>

[asan] Remove -fsanitize-address-zero-base-shadow command line
flag from clang, and disable zero-base shadow support on all platforms
where it is not the default behavior.

- It is completely unused,

[asan] Remove -fsanitize-address-zero-base-shadow command line
flag from clang, and disable zero-base shadow support on all platforms
where it is not the default behavior.

- It is completely unused, as far as we know.
- It is ABI-incompatible with non-zero-base shadow, which means all
objects in a process must be built with the same setting. Failing to
do so results in a segmentation fault at runtime.
- It introduces a backward dependency of compiler-rt on user code,
which is uncommon and complicates testing.

This is the Clang part of a larger change.

llvm-svn: 199372

show more ...


# c9bd88e6 14-Jan-2014 Hans Wennborg <hans@hanshq.net>

Remove the -cxx-abi command-line flag.

This makes the C++ ABI depend entirely on the target: MS ABI for -win32 triples,
Itanium otherwise. It's no longer possible to do weird combinations.

To be ab

Remove the -cxx-abi command-line flag.

This makes the C++ ABI depend entirely on the target: MS ABI for -win32 triples,
Itanium otherwise. It's no longer possible to do weird combinations.

To be able to run a test with a specific ABI without constraining it to a
specific triple, new substitutions are added to lit: %itanium_abi_triple and
%ms_abi_triple can be used to get the current target triple adjusted to the
desired ABI. For example, if the test suite is running with the i686-pc-win32
target, %itanium_abi_triple will expand to i686-pc-mingw32.

Differential Revision: http://llvm-reviews.chandlerc.com/D2545

llvm-svn: 199250

show more ...


1...<<51525354555657585960>>...79