| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
Put the logic for deciding the default name for gcc/g++
in the only place that actually cares about it.
This also pushes an ifdef out of the generic driver code
to a little further down, when the target is actually known.
Hopefully it can be changed into just a runtime check
in the future.
llvm-svn: 129212
|
| |
|
|
|
|
| |
options.
llvm-svn: 129153
|
| |
|
|
| |
llvm-svn: 129145
|
| |
|
|
| |
llvm-svn: 129141
|
| |
|
|
| |
llvm-svn: 129108
|
| |
|
|
|
|
|
| |
existing CC_PRINT_OPTIONS and CC_PRINT_HEADERS, which can be used to
transparently capture the compiler diagnostics from a build.
llvm-svn: 129082
|
| |
|
|
| |
llvm-svn: 128944
|
| |
|
|
| |
llvm-svn: 128738
|
| |
|
|
| |
llvm-svn: 128641
|
| |
|
|
| |
llvm-svn: 128433
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These stacks are often less important than those on primary diagnostics.
As the number of notes grows, this becomes increasingly important. The
include stack printing is clever and doesn't print stacks for adjacent
diagnostics from the same file, but when a note is in between a sequence
of errors in a header file, and the notes all refer to some other file,
we end up getting a worst-case ping-pong of include stacks that take up
a great deal of vertical space.
Still, for now, the default behavior isn't changed. We can evaluate user
feedback with the flag.
Patch by Richard Trieu, a couple of style tweaks from me.
llvm-svn: 128371
|
| |
|
|
|
|
|
|
|
| |
default for -fwrapv if that flag isn't specified explicitly. We always
prefer an explict setting of -fwrapv when present. Also adds support for
-fno-wrapv to allow disabling -fwrapv even when -fno-strict-overflow is
passed.
llvm-svn: 128353
|
| |
|
|
| |
llvm-svn: 128187
|
| |
|
|
|
|
|
|
| |
line options, instead of leveraging the blanket -mllvm option.
- This allows using the frontend itself without requiring the backend have
those options available (i.e., if the target wasn't built).
llvm-svn: 128087
|
| |
|
|
| |
llvm-svn: 128018
|
| |
|
|
|
|
|
|
| |
program and fallback to plain version otherwise. Use this for the NetBSD
target to make it try e.g. i486--netbsdelf-as and -ld for target
i486--netbsdelf.
llvm-svn: 127996
|
| |
|
|
|
|
|
| |
and DragonFly. Use the --sysroot= form for Linux. Fix handling of =
prefix for -B.
llvm-svn: 127994
|
| |
|
|
|
|
|
|
|
| |
- We don't really support the majority of the horrible -traditional-cpp
behavior, but it is unlikely that we ever will either. This allows us to
start trying to use clang as a /usr/bin/cpp replacement and see what pieces
of -traditional-cpp mode people actually care about.
llvm-svn: 127911
|
| |
|
|
|
|
|
|
| |
Issue this as an IR-gen error; it's not really worthwhile doing this
"right", i.e. in Sema, because IR gen knows a lot of tricks beyond
what the constant evaluator knows.
llvm-svn: 127854
|
| |
|
|
|
|
| |
disable Obj-C exceptions.
llvm-svn: 127836
|
| |
|
|
| |
llvm-svn: 127820
|
| |
|
|
| |
llvm-svn: 127819
|
| |
|
|
| |
llvm-svn: 127815
|
| |
|
|
|
|
| |
not being consistent at all with other parts of the GCC implementation.
llvm-svn: 127777
|
| |
|
|
|
|
| |
DeadStores checker into the "deadcode" group.
llvm-svn: 127531
|
| |
|
|
|
|
|
| |
input is specified, use stdin implicitly. Based on a patch from
Roman Divacky.
llvm-svn: 127137
|
| |
|
|
| |
llvm-svn: 127128
|
| |
|
|
| |
llvm-svn: 126810
|
| |
|
|
| |
llvm-svn: 126767
|
| |
|
|
|
|
| |
Patch by Dimitry Andric!
llvm-svn: 126763
|
| |
|
|
|
|
|
|
|
|
|
| |
retrieve the library paths from the ToolChain object instead.
Copy the relevant code from linuxtools::Link::ConstructJob(), and
replace the std::string stuff with llvm::StringRef, while we're here.
Patch by Dimitry Andric!
llvm-svn: 126757
|
| |
|
|
|
|
| |
one.
llvm-svn: 126756
|
| |
|
|
|
|
|
| |
CC="clang -use-gold-plugin -emit-llvm"
CXX="clang++ -use-gold-plugin -emit-llvm"
llvm-svn: 126740
|
| |
|
|
|
|
|
| |
CC="clang -use-gold-plugin" CFLAGS=-emit-llvm ../configure...
and not be hit with a warning for each .c file.
llvm-svn: 126713
|
| |
|
|
|
|
| |
misnomer award.
llvm-svn: 126676
|
| |
|
|
|
|
| |
-fno-blocks is specified), because this combination of flags defines an Objective-C runtime that includes a blocks runtime.
llvm-svn: 126654
|
| |
|
|
|
|
|
|
| |
of -fexceptions to disably C++ exceptions. The correct code was in the
ObjC branch, this just mirrors that logic on the C++ side of things.
Thanks to John Wiegley for pointing this out.
llvm-svn: 126640
|
| |
|
|
|
|
|
|
|
|
| |
C++ exceptions, even when exceptions have been turned off using -fno-exceptions.
Make the -fobjc-exceptions flag do the same thing, but for Objective-C exceptions.
C++ and Objective-C exceptions can also be disabled using -fno-cxx-excptions and
-fno-objc-exceptions.
llvm-svn: 126630
|
| |
|
|
|
|
|
| |
-Now it gets enabled with '-analyzer-checker=DeadStores'.
-The driver passes the above flag by default.
llvm-svn: 126612
|
| |
|
|
|
|
| |
shouldUseExceptionTablesForObjCExceptions.
llvm-svn: 126601
|
| |
|
|
|
|
|
|
| |
-fobjc-exceptions flag to turn them on.
Update all tests accordingly.
llvm-svn: 126177
|
| |
|
|
|
|
| |
patch by Matthew Dempsky!
llvm-svn: 126133
|
| |
|
|
|
|
| |
whether Objective-C exceptions are enabled or not (they are by default).
llvm-svn: 126061
|
| |
|
|
|
|
| |
without crashing; enable it for C++.
llvm-svn: 126026
|
| |
|
|
|
|
| |
the special way we model "linker input" arguments.
llvm-svn: 126023
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
non-path-sensitive-checkers:
DeadStoresChecker
ObjCMethSigsChecker
ObjCUnusedIvarsChecker
SizeofPointerChecker
ObjCDeallocChecker
SecuritySyntaxChecker
llvm-svn: 125779
|
| |
|
|
|
|
| |
No one uses *-mingw64. mingw-w64 is represented as {i686|x86_64}-w64-mingw32.
llvm-svn: 125742
|
| |
|
|
| |
llvm-svn: 125741
|
| |
|
|
| |
llvm-svn: 125611
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
checks. These are:
StackAddrLeakChecker
ObjCAtSyncChecker
UnixAPIChecker
MacOSXAPIChecker
The rest have/create implicit dependencies between checkers and need to be handled differently.
llvm-svn: 125559
|