| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
aren't failing the compilation).
llvm-svn: 68540
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Ignore some more -W options and -[fm] options which we can somewhat
safely ignore.
- Recognize that -W is an alias for -Wextra
W: -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wfour-char-constants -Winit-self -Wmissing-format-attribute -Wno-#warnings -Wno-comment -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wstrict-prototypes -Wunused-parameter
f: -fconstant-cfstrings -fdollars-in-identifiers -finline -finline-functions -fno-inline -fno-keep-inline-functions -fno-strict-aliasing -fobjc-atdefs -fobjc-call-cxx-cdtors -fobjc-new-property -fstack-protector
m: -mconstant-cfstrings -mfix-and-continue
llvm-svn: 68487
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
preceeded by a linker input flag.
- <rdar://problem/6757236> clang should make a dSYM when going
straight from source to binary
- This still matches gcc, but the right way to solve this would be to
detect the situation we care about (we are compiling from source
and linking in one step), instead of looking at the suffix of the
input file. The Tool doesn't quite have enough information to do
this yet, however.
- Also, find the suffix correctly.
llvm-svn: 68417
|
| |
|
|
|
|
| |
need to do anything special to support this.
llvm-svn: 68403
|
| |
|
|
|
|
| |
wasn't being forwarded.
llvm-svn: 68365
|
| |
|
|
|
|
| |
Approved by: ddunbar
llvm-svn: 68343
|
| |
|
|
|
|
| |
calling gcc in generic configurations.
llvm-svn: 68260
|
| |
|
|
|
|
|
|
|
| |
- PR3922
- I have a clean solution for this in flight, but it may take a while
to come to fruition so we'll take a quick fix for now.
llvm-svn: 68241
|
| |
|
|
|
|
| |
- Patch by Ed Schouten!
llvm-svn: 68233
|
| |
|
|
|
|
| |
- c.f. r68164
llvm-svn: 68184
|
| |
|
|
|
|
| |
case.
llvm-svn: 68182
|
| |
|
|
| |
llvm-svn: 68165
|
| |
|
|
|
|
|
|
|
|
|
|
| |
the preprocessor.
- PR3602.
- As is inherent in the blanket forwarding options, this will only
work if clang-cc happens to accept what the user passed. Users by
and large should use driver options to interact with the
preprocessor, if at all possible.
llvm-svn: 68144
|
| |
|
|
|
|
| |
- Patch by Ed Schouten!
llvm-svn: 68121
|
| |
|
|
|
|
|
|
| |
- Always pass -triple to clang-cc (-arch will be removed).
- clang-cc doesn't play guess work with the target triple anymore.
llvm-svn: 68119
|
| |
|
|
| |
llvm-svn: 68042
|
| |
|
|
|
|
|
|
| |
- Not particularly elegant, but my hand is forced by gcc.
Also, tweak -ccc-print-bindings output.
llvm-svn: 68027
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Rip out various bits of logic from clang-cc's dependency file gen,
force driver to provide instead.
- -MD output now goes to proper location
<rdar://problem/6723948> clang -MD puts dep file in /tmp with wrong name
- -M and -MM still don't work correctly.
llvm-svn: 68022
|
| |
|
|
|
|
| |
tools, and enable them.
llvm-svn: 68019
|
| |
|
|
|
|
|
| |
unused, and lacking a test case).
- ccc is now on death row, pending some more testing and bug fixes.
llvm-svn: 68012
|
| |
|
|
|
|
| |
(currently unused).
llvm-svn: 68003
|
| |
|
|
|
|
|
|
|
| |
turned into -m[no-]pascal-strings by the tool chain.
- This still has issue that derived arguments don't propogate "used"
information correctly so spurious "argument unused" warnings will
still show up.
llvm-svn: 67841
|
| |
|
|
|
|
|
| |
- <rdar://problem/6717381> [driver] implement ld argument translation
in new driver
llvm-svn: 67760
|
| |
|
|
|
|
| |
static analysis.
llvm-svn: 67665
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- -emit-llvm no longer changes what compilation steps are done.
- -emit-llvm and -emit-llvm -S write output files with .o and .s
suffixes, respectively.
- <rdar://problem/6714125> clang-driver should support -O4 and -flto,
like llvm-gcc
llvm-svn: 67645
|
| |
|
|
|
|
|
| |
- <rdar://problem/6715707> driver should translate -fverbose-asm into
-asm-verbose
llvm-svn: 67634
|
| |
|
|
|
|
| |
translation, the former we support, the later we don't (yet).
llvm-svn: 67611
|
| |
|
|
|
|
| |
Tests and drivers updated, still need to shuffle dirs.
llvm-svn: 67602
|
| |
|
|
|
|
| |
ccc due to the different way we handle output arguments).
llvm-svn: 67583
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
clang doesn't support, and don't want to warn are unused. Eventually
these should disappear.
Here is a more readable list than is in the diff:
W options: -Wall, -Wcast-align, -Wchar-align, -Wchar-subscripts,
-Werror, -Wextra, -Winline, -Wint-to-pointer-cast, -Wmissing-braces,
-Wmost, -Wnested-externs, -Wno-format-y2k, -Wno-four-char-constants,
-Wno-missing-field-initializers, -Wno-trigraphs, -Wno-unknown-pragmas,
-Wno-unused-parameter, -Wparentheses, -Wpointer-arith,
-Wpointer-to-int-cast, -Wreturn-type, -Wshorten-64-to-32, -Wswitch,
-Wunused-function, -Wunused-label, -Wunused-value, -Wunused-variable,
-Wwrite-strings.
f options: -fasm-blocks, -fmessage-length=.
llvm-svn: 67549
|
| |
|
|
| |
llvm-svn: 67393
|
| |
|
|
|
|
| |
- Based on patch from Pieter de Bie; thanks!
llvm-svn: 67379
|
| |
|
|
| |
llvm-svn: 67355
|
| |
|
|
|
|
| |
- Apologies for commits w/o test cases; they are coming.
llvm-svn: 67310
|
| |
|
|
|
|
|
|
|
|
|
| |
are forwarded to GCC.
- The later is unfortunate, as it prevents us from generally warning
about anything interesting on platforms that use a generic
toolchain. However, we can't do much better without significantly
complicating things, and generally we should have proper tool chain
definitions.
llvm-svn: 67293
|
| |
|
|
|
|
|
|
|
| |
- Make InputInfo a variant of filename, pipe, input argument,
nothing.
- Leave a FIXME in InputInfo that this should be revisited.
llvm-svn: 67292
|
| |
|
|
|
|
| |
case.
llvm-svn: 67257
|
| |
|
|
|
|
| |
PCH support).
llvm-svn: 67256
|
| |
|
|
|
|
|
|
|
| |
if our usual methods fail. This isn't necessary for running the tool,
but improves the accuracy of logging output.
Also, have GCC tools lookup gcc program path.
llvm-svn: 67243
|
| |
|
|
| |
llvm-svn: 67193
|
| |
|
|
|
|
|
|
| |
argument translation.
Also, stub out clang tool implementation a bit more.
llvm-svn: 67185
|
| |
|
|
|
|
| |
its commands).
llvm-svn: 67179
|
| |
|
|
| |
llvm-svn: 67170
|
|
|
llvm-svn: 67169
|