| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-Checkers will be defined in the tablegen file 'Checkers.td'.
-Apart from checkers, we can define checker "packages" that will contain a collection of checkers.
-Checkers can be enabled with -analyzer-checker=<name> and disabled with -analyzer-disable-checker=<name> e.g:
Enable checkers from 'cocoa' and 'corefoundation' packages except the self-initialization checker:
-analyzer-checker=cocoa -analyzer-checker=corefoundation -analyzer-disable-checker=cocoa.SelfInit
-Introduces CheckerManager and CheckerProvider. CheckerProviders get the set of checker names to enable/disable and
register them with the CheckerManager which will be the entry point for all checker-related functionality.
Currently only the self-initialization checker takes advantage of the new mechanism.
llvm-svn: 125503
|
|
|
|
| |
llvm-svn: 125309
|
|
|
|
|
|
| |
is specified in the FreeBSD linker driver.
llvm-svn: 125285
|
|
|
|
| |
llvm-svn: 125282
|
|
|
|
| |
llvm-svn: 125201
|
|
|
|
|
|
| |
Patch by Renato Golin!
llvm-svn: 124878
|
|
|
|
| |
llvm-svn: 124875
|
|
|
|
|
|
| |
might expect.
llvm-svn: 124848
|
|
|
|
|
|
|
| |
CC_PRINT_OPTIONS and can be used to get some out-of-band information on header
usage from a build.
llvm-svn: 124751
|
|
|
|
| |
llvm-svn: 124736
|
|
|
|
|
|
| |
Fixes PR9121!
llvm-svn: 124718
|
|
|
|
| |
llvm-svn: 124661
|
|
|
|
|
|
|
|
| |
invocation.
This mimics what gcc does and fixes libtool check for libraries.
llvm-svn: 124558
|
|
|
|
|
|
|
|
| |
'-analyzer-check-objc-self-init' which by default
is enabled by the driver for '--analyze'.
llvm-svn: 124266
|
|
|
|
|
|
|
| |
and the filename has multiple .'s in it, use the last. For example, "foo.bar.cpp"
should produce "foo.bar.d" not "foo.d". Patch by Johan Boule in PR8391
llvm-svn: 123576
|
|
|
|
|
|
|
|
|
|
| |
analyzer -cc1 options that are tailored to the
input type. If the input type is "C++", we should
only run the dead stores checker (for now). Similarly,
checks specific to Objective-C should only run
on Objective-C Code.
llvm-svn: 123481
|
|
|
|
| |
llvm-svn: 123150
|
|
|
|
| |
llvm-svn: 122987
|
|
|
|
|
|
| |
// rdar://8818375
llvm-svn: 122831
|