| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
subsequent commands from being executed.
The diagnostics generation isn't designed for this use case, so add a note to
fix this in the very near future. For now, just generated the diagnostics for
the first failing command.
Part of rdar://12984531
llvm-svn: 173825
|
|
|
|
|
|
|
| |
to delete result files for only those commands that fail.
Part of rdar://12984531
llvm-svn: 173361
|
|
|
|
| |
llvm-svn: 173215
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
uncovered.
This required manually correcting all of the incorrect main-module
headers I could find, and running the new llvm/utils/sort_includes.py
script over the files.
I also manually added quite a few missing headers that were uncovered by
shuffling the order or moving headers up to be main-module-headers.
llvm-svn: 169237
|
|
|
|
| |
llvm-svn: 168041
|
|
|
|
|
|
|
| |
matching works correctly.
Part of rdar://12329974
llvm-svn: 167173
|
|
|
|
|
|
|
| |
that matching works correctly.
Part of rdar://12329974
llvm-svn: 167161
|
|
|
|
|
|
|
|
|
|
|
|
| |
diagnostics script.
This addresses the FIXME pertaining to quoted arguments. We also delineate
between those flags that have an argument (e.g., -D macro, -MF file) and
those that do not (e.g., -M, -MM, -MG). Finally, we add the -dwarf-debug-flags
to the list of flags to be removed.
rdar://12329974
llvm-svn: 167152
|
|
|
|
| |
llvm-svn: 156104
|
|
|
|
| |
llvm-svn: 156093
|
|
|
|
| |
llvm-svn: 154792
|
|
|
|
|
|
| |
and prevent the diagnostic preprocessor run from writing a depfile.
llvm-svn: 143846
|
|
|
|
| |
llvm-svn: 141328
|
|
|
|
|
|
| |
quoting code.
llvm-svn: 141205
|
|
|
|
|
|
|
| |
reasons. However, it does seems practical to quote strings that need it.
rdar://10221951
llvm-svn: 141202
|
|
|
|
|
|
|
|
|
| |
information including the fully preprocessed source file(s) and command line
arguments. The developer is asked to attach this diagnostic information to a
bug report.
rdar://9575623
llvm-svn: 136702
|
|
|
|
|
|
| |
will not find raw_ostream.
llvm-svn: 135853
|
|
|
|
|
|
|
|
| |
LLVM.h imports
them into the clang namespace.
llvm-svn: 135852
|
|
|
|
| |
llvm-svn: 135621
|
|
|
|
|
|
|
|
|
| |
information
including the fully preprocessed source file(s) and command line arguments. The
developer is asked to attach this diagnostic information to a bug report.
llvm-svn: 135614
|
|
|
|
| |
llvm-svn: 134455
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
write access to.
llvm-svn: 130150
|
|
|
|
|
|
|
| |
open them in fundamental-mode instead of c++-mode.
Also twiddle whitespace for consistency in ToolChains.cpp.
llvm-svn: 122646
|
|
|
|
| |
llvm-svn: 120297
|
|
|
|
| |
llvm-svn: 117779
|
|
|
|
|
|
|
| |
eraseFromDisk does the same check. This avoids a stat call
in the common case.
llvm-svn: 117744
|
|
|
|
| |
llvm-svn: 110014
|
|
|
|
|
|
| |
are going to need this to handle things like -Xassembler, -Xpreprocessor, and -Xlinker which we might have to introspect.
llvm-svn: 105842
|
|
|
|
|
|
| |
-v style) to a file.
llvm-svn: 99054
|
|
|
|
| |
llvm-svn: 99053
|
|
|
|
| |
llvm-svn: 89849
|
|
|
|
| |
llvm-svn: 89766
|
|
|
|
| |
llvm-svn: 89313
|
|
|
|
| |
llvm-svn: 81366
|
|
|
|
| |
llvm-svn: 81365
|
|
|
|
| |
llvm-svn: 81346
|
|
|
|
| |
llvm-svn: 74636
|
|
|
|
|
|
|
|
|
| |
- The Compilation is just a helper class, it shouldn't have that amount of
logic in it.
- No functionality change.
llvm-svn: 74634
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
code; and don't return an error code when -### is present, even if
errors occur.
llvm-svn: 67425
|
|
|
|
| |
llvm-svn: 67296
|
|
|
|
| |
llvm-svn: 67295
|
|
|
|
| |
llvm-svn: 67250
|
|
|
|
| |
llvm-svn: 67248
|
|
|
|
|
|
| |
construct any jobs).
llvm-svn: 67177
|
|
|
|
|
|
| |
shadowing member.
llvm-svn: 67167
|
|
|
|
|
|
|
|
|
|
|
| |
earlier.
- This gives us a simple ownership model, and allows clients access
to more information should they ever want it.
- We now free Actions correctly.
llvm-svn: 67158
|