History log of /llvm-project/clang/lib/Driver/Compilation.cpp (Results 101 – 125 of 129)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 8aaf4995 29-Nov-2010 Michael J. Spencer <bigcheesegs@gmail.com>

Merge System into Support.

llvm-svn: 120297


# 7d11382b 30-Oct-2010 Benjamin Kramer <benny.kra@googlemail.com>

Use the expanded form of S_ISREG. Hopefully this unbreaks the MSVC build.

llvm-svn: 117779


# e89c04e5 29-Oct-2010 Dan Gohman <gohman@apple.com>

Don't test isRegularFile before calling eraseFromDisk, since
eraseFromDisk does the same check. This avoids a stat call
in the common case.

llvm-svn: 117744


Revision tags: llvmorg-2.8.0, llvmorg-2.8.0-rc3, llvmorg-2.8.0-rc2, llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0
# b785d740 02-Aug-2010 Daniel Dunbar <daniel@zuster.org>

Driver: Eliminate PipedJob, which is now unused.

llvm-svn: 110014


# 775d4060 11-Jun-2010 Daniel Dunbar <daniel@zuster.org>

Driver: Add an explicit argument translation phase to the driver itself. We are going to need this to handle things like -Xassembler, -Xpreprocessor, and -Xlinker which we might have to introspect.

Driver: Add an explicit argument translation phase to the driver itself. We are going to need this to handle things like -Xassembler, -Xpreprocessor, and -Xlinker which we might have to introspect.

llvm-svn: 105842

show more ...


Revision tags: llvmorg-2.7.0
# 6a8efa8a 20-Mar-2010 Daniel Dunbar <daniel@zuster.org>

Driver: Support CC_PRINT_OPTIONS, used for logging the compile commands (in -v style) to a file.

llvm-svn: 99054


# 7c4de04c 20-Mar-2010 Daniel Dunbar <daniel@zuster.org>

Driver: Fix -### to quote shell special characters, following gcc.

llvm-svn: 99053


# c9279119 25-Nov-2009 Edward O'Callaghan <eocallaghan@auroraux.org>

Fix for Path::isSpecialFile to Path::isRegularFile API in rev 89765.

llvm-svn: 89849


# db521ec2 24-Nov-2009 Edward O'Callaghan <eocallaghan@auroraux.org>

Fix for PR5568.

llvm-svn: 89766


# da13faf9 19-Nov-2009 Daniel Dunbar <daniel@zuster.org>

Driver: ArgList doesn't depend on Options.h anymore.

llvm-svn: 89313


Revision tags: llvmorg-2.6.0
# e7af3414 09-Sep-2009 Daniel Dunbar <daniel@zuster.org>

Push bound architecture name into TranslateArgs.

llvm-svn: 81366


# b5d86bbd 09-Sep-2009 Daniel Dunbar <daniel@zuster.org>

Push bound architecture name into Compilation::getArgsForToolChain.

llvm-svn: 81365


# 11289f42 09-Sep-2009 Mike Stump <mrs@apple.com>

Remove tabs, and whitespace cleanups.

llvm-svn: 81346


# 82ef1abf 01-Jul-2009 Daniel Dunbar <daniel@zuster.org>

Driver: Mark some Compilation members const.

llvm-svn: 74636


# 38bfda6a 01-Jul-2009 Daniel Dunbar <daniel@zuster.org>

Driver: Move Compilation::Execute to Driver::ExecuteCompilation.
- The Compilation is just a helper class, it shouldn't have that amount of
logic in it.

- No functionality change.

llvm-svn: 74

Driver: Move Compilation::Execute to Driver::ExecuteCompilation.
- The Compilation is just a helper class, it shouldn't have that amount of
logic in it.

- No functionality change.

llvm-svn: 74634

show more ...


# aa246caf 01-Jul-2009 Daniel Dunbar <daniel@zuster.org>

Driver: Improve diagnostics for failed commands.
- Not all tools give good error messages, and sometimes the tool can fail w/o
any error (for example, when signalled).

- We suppress this messag

Driver: Improve diagnostics for failed commands.
- Not all tools give good error messages, and sometimes the tool can fail w/o
any error (for example, when signalled).

- We suppress this message when the failing command is the compiler and it
failed normally (exit code == 1), under the assumption that it gave a good
diagnostic.

For example, for a linker failure we now get:
--
ddunbar@lordcrumb:tmp$ clang a.c b.c
ld: duplicate symbol _x in /var/folders/cl/clrOX6SaG+moCeRKEI4PtU+++TI/-Tmp-/cc-bXYITq.o and /var/folders/cl/clrOX6SaG+moCeRKEI4PtU+++TI/-Tmp-/cc-6uK4jD.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
--

For a compiler crash we get:
--
ddunbar@lordcrumb:tmp$ clang t.i
Assertion failed: (CGT.getTargetData().getTypeAllocSizeInBits(STy) == RL.getSize()), function layoutStructFields, file CodeGenTypes.cpp, line 573.
0 clang-cc 0x0000000100f1f1f1 PrintStackTrace(void*) + 38
... stack trace and virtual stack trace follow ...
clang: error: compiler command failed due to signal 6 (use -v to see invocation)
--

But for a regular compilation failure we get the usual:
--
ddunbar@lordcrumb:tmp$ clang c.c
c.c:1:6: error: invalid token after top level declarator
int x
^
1 diagnostic generated.
--

- No test case, not amenable to non-executable testing. :/

- <rdar://problem/6945613>

llvm-svn: 74629

show more ...


# dac54a81 25-Mar-2009 Daniel Dunbar <daniel@zuster.org>

Driver: Prep for tool chain specific argument translation.
- Lift ArgList to a base class for InputArgList and DerivedArgList.

- This is not a great decomposition, but it does embed the
transl

Driver: Prep for tool chain specific argument translation.
- Lift ArgList to a base class for InputArgList and DerivedArgList.

- This is not a great decomposition, but it does embed the
translation into the type system, and keep things efficient for
tool chains that don't want to do any translation.

- No intended functionality change.

Eventually I hope to get rid of tool chain specific translation and
have each tool do the right thing, but for now this is the easiest way
to match gcc precisely (which is good for testing).

llvm-svn: 67676

show more ...


# 827faf8f 24-Mar-2009 Daniel Dunbar <daniel@zuster.org>

Driver: Result files shouldn't be removed on failure when -save-temps
is specified.
- No easy way to make a safe test case for this (given where the
driver is supposed to put temp files).

llvm-s

Driver: Result files shouldn't be removed on failure when -save-temps
is specified.
- No easy way to make a safe test case for this (given where the
driver is supposed to put temp files).

llvm-svn: 67632

show more ...


# 1acb0eb2 21-Mar-2009 Daniel Dunbar <daniel@zuster.org>

Driver: Give Compilation::Execute total control over the Driver result
code; and don't return an error code when -### is present, even if
errors occur.

llvm-svn: 67425


# 8d6ab2af 19-Mar-2009 Daniel Dunbar <daniel@zuster.org>

Driver: Compilation::Execute wasn't returning result code correctly.

llvm-svn: 67296


# 1da82ae5 19-Mar-2009 Daniel Dunbar <daniel@zuster.org>

Driver: Executing piped jobs with a single command is easy.

llvm-svn: 67295


# 64316c49 18-Mar-2009 Daniel Dunbar <daniel@zuster.org>

Driver: Execute jobs; no pipe support yet.

llvm-svn: 67250


# 6c17bfd9 18-Mar-2009 Daniel Dunbar <daniel@zuster.org>

Driver: Cleanup temporary/result files.

llvm-svn: 67248


# 0928b312 18-Mar-2009 Daniel Dunbar <daniel@zuster.org>

Driver: Implement -### (hard to tell, since we don't actually
construct any jobs).

llvm-svn: 67177


# aabaac47 18-Mar-2009 Daniel Dunbar <daniel@zuster.org>

Driver: Fix Compilation::getArgsForToolChain, local variable was
shadowing member.

llvm-svn: 67167


123456