History log of /llvm-project/clang/lib/Frontend/CompilerInvocation.cpp (Results 1726 – 1750 of 1971)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# c67bcd5b 27-Aug-2011 Douglas Gregor <dgregor@apple.com>

Remove the -import-module option. It's no longer useful

llvm-svn: 138681


# ba3df1d3 26-Aug-2011 Chad Rosier <mcrosier@apple.com>

[driver] Add -mglobal-merge/-mno-global-merge machine options to enable/disable merging of
globals during codegen.
Fixes <rdar://problem/10017909>.

llvm-svn: 138612


# 2ed0ee1a 25-Aug-2011 Douglas Gregor <dgregor@apple.com>

Eliminate the -chained-pch flag and all of the frontend and libclang options associated with it. Chained PCH is the only way to build a PCH file that includes another PCH file

llvm-svn: 138597


# 69f74f80 25-Aug-2011 Douglas Gregor <dgregor@apple.com>

Introduce a -cc1 option "-emit-module", that creates a binary module
from the given source. -emit-module behaves similarly to -emit-pch,
except that Sema is somewhat more strict about the contents of

Introduce a -cc1 option "-emit-module", that creates a binary module
from the given source. -emit-module behaves similarly to -emit-pch,
except that Sema is somewhat more strict about the contents of
-emit-module. In the future, there are likely to be more interesting
differences.

llvm-svn: 138595

show more ...


# c687cae1 13-Aug-2011 Nico Weber <nicolasweber@gmx.de>

Accept -x objc++-cpp-output as an alias for -x objective-c++-cpp-output

This is the ObjC++ version of r129201. It's for example needed to use
ccache with clang.

llvm-svn: 137560


# 0248f57d 05-Aug-2011 Jonathan D. Turner <jonathan.d.turner@gmail.com>

Wire up -import-module to run ReadAST for each module loaded.

llvm-svn: 136987


# 73665188 28-Jul-2011 Ted Kremenek <kremenek@apple.com>

Really remove FlatStoreManager and BasicStoreManager, this time from the driver. Also remove associated tests. Sorry for the messy commits; this is the result of a botched Git merge.

llvm-svn: 136

Really remove FlatStoreManager and BasicStoreManager, this time from the driver. Also remove associated tests. Sorry for the messy commits; this is the result of a botched Git merge.

llvm-svn: 136422

show more ...


# 9f93e38a 28-Jul-2011 Douglas Gregor <dgregor@apple.com>

Introduce the "-index-header-map" option, to give special semantics
for quoted header lookup when dealing with not-yet-installed
frameworks. Fixes <rdar://problem/9824020>.

llvm-svn: 136331


# 0e62c1cc 23-Jul-2011 Chris Lattner <sabre@nondot.org>

remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports
them into the clang namespace.

llvm-svn: 135852


# d571363e 19-Jul-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com>

[arcmt] Add some additional driver flags to optionally emit or save the pre-migration ARC errors.

-arcmt-migrate-emit-errors : Emits the pre-migration ARC errors but it doesn't affect anything else

[arcmt] Add some additional driver flags to optionally emit or save the pre-migration ARC errors.

-arcmt-migrate-emit-errors : Emits the pre-migration ARC errors but it doesn't affect anything else
-arcmt-migrate-report-output : Writes out the pre-migration ARC errors to the provided plist file

rdar://9791454

llvm-svn: 135491

show more ...


# 3f4138c5 13-Jul-2011 John McCall <rjmccall@apple.com>

In debugger mode, make ObjC message sends to unknown selectors return
__unknown_anytype, and rewrite such message sends correctly.

I had to bite the bullet and actually add a debugger support mode f

In debugger mode, make ObjC message sends to unknown selectors return
__unknown_anytype, and rewrite such message sends correctly.

I had to bite the bullet and actually add a debugger support mode for this
one, which is a bit unfortunate, but there really isn't anything else
I could imagine doing; this is clearly just debugger-specific behavior.

llvm-svn: 135051

show more ...


# 77b0e7f2 12-Jul-2011 Peter Collingbourne <peter@pcc.me.uk>

Implement -MG. Fixes PR9613

llvm-svn: 134996


# 7fbd97f6 09-Jul-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com>

[arcmt] Introduce new '-ccc-arcmt-migrate <path>' ARC migration driver option.

This is a new mode of migration, where we avoid modifying the original files but
we emit temporary files instead.

<pat

[arcmt] Introduce new '-ccc-arcmt-migrate <path>' ARC migration driver option.

This is a new mode of migration, where we avoid modifying the original files but
we emit temporary files instead.

<path> will be used to keep migration process metadata. Currently the temporary files
that are produced are put in the system's temp directory but we can put them
in the <path> if is necessary.

Also introduce new ARC migration functions in libclang whose only purpose,
currently, is to accept <path> and provide pairs of original file/transformed file
to map from the originals to the files after transformations are applied.

Finally introduce the c-arcmt-test utility that exercises the new libclang functions,
update arcmt-test, and add tests for the whole process.

rdar://9735086.

llvm-svn: 134844

show more ...


# f8c3ccde 07-Jul-2011 Jonathan D. Turner <jonathan.d.turner@gmail.com>

Remove BoostCon-specific code from Clang. FWIW, I'm a fan of things like this living in a separate branch.

llvm-svn: 134649


# 9de1978f 06-Jul-2011 John McCall <rjmccall@apple.com>

Call objc_terminate() instead of abort() when a cleanup throws an
exception in Objective-C; in Objective-C++ we still use std::terminate().
This is only available in very recent runtimes.

llvm-svn:

Call objc_terminate() instead of abort() when a cleanup throws an
exception in Objective-C; in Objective-C++ we still use std::terminate().
This is only available in very recent runtimes.

llvm-svn: 134456

show more ...


# 24fc0dec 06-Jul-2011 John McCall <rjmccall@apple.com>

Change the driver's logic about Objective-C runtimes: abstract out a
structure to hold inferred information, then propagate each invididual
bit down to -cc1. Separate the bits of "supports weak" an

Change the driver's logic about Objective-C runtimes: abstract out a
structure to hold inferred information, then propagate each invididual
bit down to -cc1. Separate the bits of "supports weak" and "has a native
ARC runtime"; make the latter a CodeGenOption.

The tool chain is still driving this decision, because it's the place that
has the required deployment target information on Darwin, but at least it's
better-factored now.

llvm-svn: 134453

show more ...


# 25e61c58 29-Jun-2011 Fariborz Jahanian <fjahanian@apple.com>

Use existing -fcatch-undefined-behavior option,
replacing -freset-local-blocks. // rdar://9227352

llvm-svn: 134082


# fc510bdd 28-Jun-2011 Fariborz Jahanian <fjahanian@apple.com>

Under a compiler flag, -freset-local-blocks,
wipe out stack blocks when they go out of scope.
// rdar://9227352

llvm-svn: 134045


# f64a560d 21-Jun-2011 Bob Wilson <bob.wilson@apple.com>

Make InitHeaderSearch::AddPath and HeaderSearchOptions::AddPath consistent
use an "IgnoreSysRoot" argument. HeaderSearchOptions had been using the
opposite form with "IsSysRootRelative", which made

Make InitHeaderSearch::AddPath and HeaderSearchOptions::AddPath consistent
use an "IgnoreSysRoot" argument. HeaderSearchOptions had been using the
opposite form with "IsSysRootRelative", which made for much confusion when
looking at true/false values in calls in AddPath. No functional change.

llvm-svn: 133550

show more ...


# b02ea3d7 21-Jun-2011 Bob Wilson <bob.wilson@apple.com>

Fix the default libc++ header search path to be sysrooted. Radar 9639692.

The -cxx-isystem path is not prefixed with the sysroot directory, so it's
not a good way for the driver to set the system d

Fix the default libc++ header search path to be sysrooted. Radar 9639692.

The -cxx-isystem path is not prefixed with the sysroot directory, so it's
not a good way for the driver to set the system default C++ search path.
Instead, add -stdlib as a cc1 option and teach the frontend how to find the
headers. The driver can then just pass -stdlib through to "cc1".

llvm-svn: 133547

show more ...


# d3f3d932 21-Jun-2011 Daniel Dunbar <daniel@zuster.org>

IRgen: Add a -fuse-register-sized-bitfield-access option, for testing.
- Changes bit-field access policy to try to use (aligned) register sized accesses.

The idea here is that by using larger acces

IRgen: Add a -fuse-register-sized-bitfield-access option, for testing.
- Changes bit-field access policy to try to use (aligned) register sized accesses.

The idea here is that by using larger accesses we expose more coalescing
potential to the backend when we have situations like adjacent bit-fields in the
same structure (which is common), and that the backend should be smart enough to
narrow the accesses down when no coalescing is done or when it is shown not to
be profitable.

--
$ clang -m32 -O3 -S -o - t.c
_f0: ## @f0
pushl %ebp
movl %esp, %ebp
movl 8(%ebp), %eax
movb (%eax), %cl
andb $-128, %cl
orb $1, %cl
movb %cl, (%eax)
movb 1(%eax), %cl
andb $-128, %cl
orb $1, %cl
movb %cl, 1(%eax)
movb 2(%eax), %cl
andb $-128, %cl
orb $1, %cl
movb %cl, 2(%eax)
movb 3(%eax), %cl
andb $-128, %cl
orb $1, %cl
movb %cl, 3(%eax)
popl %ebp
ret

$ clang -m32 -O3 -S -o - t.c -Xclang -fuse-register-sized-bitfield-access
_f0: ## @f0
pushl %ebp
movl %esp, %ebp
movl 8(%ebp), %eax
movl $-2139062144, %ecx ## imm = 0xFFFFFFFF80808080
andl (%eax), %ecx
orl $16843009, %ecx ## imm = 0x1010101
movl %ecx, (%eax)
popl %ebp
ret
--

llvm-svn: 133532

show more ...


# ca6b90d8 21-Jun-2011 Nick Lewycky <nicholas@mxc.ca>

Add support for -Wa,--noexecstack when building from a non-assembly file. For
an assembly file it worked correctly, while for a .c file it would given an
error about how --noexecstack is not a suppor

Add support for -Wa,--noexecstack when building from a non-assembly file. For
an assembly file it worked correctly, while for a .c file it would given an
error about how --noexecstack is not a supported argument to -Wa.

llvm-svn: 133489

show more ...


# 1240f4e5 17-Jun-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com>

[arcmt] Remove '-arcmt-modify-in-memory', it turned out less useful than we hoped it would be.

llvm-svn: 133315


# d70fb981 15-Jun-2011 John McCall <rjmccall@apple.com>

The ARC Migration Tool. All the credit goes to Argyrios and Fariborz
for this.

llvm-svn: 133104


# 31168b07 15-Jun-2011 John McCall <rjmccall@apple.com>

Automatic Reference Counting.

Language-design credit goes to a lot of people, but I particularly want
to single out Blaine Garst and Patrick Beard for their contributions.

Compiler implementation c

Automatic Reference Counting.

Language-design credit goes to a lot of people, but I particularly want
to single out Blaine Garst and Patrick Beard for their contributions.

Compiler implementation credit goes to Argyrios, Doug, Fariborz, and myself,
in no particular order.

llvm-svn: 133103

show more ...


1...<<61626364656667686970>>...79