aboutsummaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)Author
2008-09-30ccc: Add support for another batch of OS X linker options, includingDaniel Dunbar
-mmacosx-version-min. One might anticipate that at some point I will just break down and go through the man page. That seems a little too obvious. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56890 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-30ccc: Infer action type upfront.Daniel Dunbar
- More straightforward, e.g. -E should always imply action = 'preprocess' (I think). - Pass another option through for OS X. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56884 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-30Change ccc to not pass -x unknown down.Daniel Dunbar
Pass through some more Mac OS X linker options. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56853 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-29Really don't add -isysroot twice.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56815 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-29Don't filter out -fpascal-strings.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56810 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-29Discard extra -isysroot options. This fixes:Ted Kremenek
<rdar://problem/6253141> Parser rejection occurs when command line has more than one -isysroot switch git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56790 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-28Add "Path Length" back to the table of bug reports.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56765 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-25Emulate gcc driver-driver functionality: run analyzer separately for each ↵Ted Kremenek
separate -arch option. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56618 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-25Add link to report analyzer failures (parse errors, asserts, etc).Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56606 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-25Update scan-build to add markers about crashes.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56603 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-25Include clang preprocessed sources as well with "crashes" output.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56601 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-25Use .txt extension for info files.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56598 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-23For generated index.html, look for "scan-view.css", not "/scan-view.css"Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56510 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22Yank out special CSS for button rendering (not very portable or well tested, ↵Ted Kremenek
and we were encountering race conditions with CSS loading). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56449 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22Reintegrate Daniel's changes.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56447 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22Add "SUMMARYENDHEAD" tag.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56445 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22Don't embed CSS inside scan-build script; use external scanview.css.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56444 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22Don't emit link to source file.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56443 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22Make "View Report" just a normal link again.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56442 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22Don't print out the path length.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56441 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22Use scan-view to view reports. Opening index.html is deprecated.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56431 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-22Patch from Richard Godbee:Ted Kremenek
Improve scan-build results to include the user's host name, the working directory of the analyzed project, and the date the analysis run took place. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56421 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-21Add webkit styles using Javascript (detect for AppleWebKit)Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56408 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-21Unbreak using abs_path.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56407 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-21Remove debugging message.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56398 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-21Unbreak ccc-analyzer: getcwd is from package CwdTed Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56397 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-21Patch by Richard Godbee:Ted Kremenek
Output to .info files the absolute paths to files that were rejected by the parser or crashed the analyzer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56396 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-21scan-build now prints out bug categories.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56395 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-21Have ScanView.py generate a "<td></td>" pair in the output HTML instead of ↵Ted Kremenek
having scan-build output an empty (and possibly unused) <td>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56393 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-19Add REPORTBUG marker to scan-build.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56373 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-18Analysis option -warn-objc-nserror-methods is no longer available. (check is ↵Ted Kremenek
done automatically with -checker-cfref) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56313 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-18Enable '-warn-objc-nserror-methods' by default.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56298 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-12Include links to stderr output of clang in the table of files that clang ↵Ted Kremenek
rejects. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56173 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-12Add ccc support for -e and -sectorder.Daniel Dunbar
- llvmc2, save me! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56169 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-12Teach FindSpecRefs how to link to C++ spec.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56164 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-11Echo stderr/stdout from clang subprocess to both the stderr of ccc-analyzer andTed Kremenek
to an output file. This way users can both see the output of 'clang' as well as enable background logging of files that clang encounters problems on. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56130 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-11Bug fix: <rdar://problem/6164367>Ted Kremenek
scan-build now correctly processes path prefixes that contain multiple '+' characters or other regex control characters. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56121 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-11Check if the environment variable TERM is defined before using it.Ted Kremenek
This fixes: <rdar://problem/6164279> scan-build gives error when invoked without TERM variable git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56110 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-04Patch to scan-build by Jordan Breeding:Ted Kremenek
- Don't remove $BaseDir; may be unsafe - Always create HTML directory with parents git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55813 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-04Fix FindSpecRefs to be Python 2.4 compatible and get the SVN revisionDaniel Dunbar
in a more obvious fashion. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55791 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-04scan-build:Ted Kremenek
- Only set the environment variable 'CXX' if the user specifies --use-c++. - Fix regression when setting LDPLUSPLUS: add a 'which' to determine the location of g++. This regression was pointed out by Jordan Breeding! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55780 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-04Capture 'uname' and 'gcc -v' output to .info files.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55752 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-04ccc-analyzer:Ted Kremenek
- Capture the STDERR output of 'clang' to a file for use with crash reporting. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55749 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-03Added --use-cxx option to scan-build.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55706 91177308-0d34-0410-b5e6-96231b3b80d8
2008-09-02recognise .s/.S file extensions. add default value for CCC_LANGUAGESNuno Lopes
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55630 91177308-0d34-0410-b5e6-96231b3b80d8
2008-08-29Improve ccc:Daniel Dunbar
- Support environment variable CCC_LANGUAGES to control which languages clang is invoked on. If unset clang is invoked for all languages, otherwise CCC_LANGUAGES should be a comma separated list of the languages (as accepted by -x) for which clang should be invoked. Useful for only building C and Objective-C parts of a project with clang, for example. - Add environment variable CCC_FALLBACK. If set and non-empty then ccc will try and compile using the regular compiler if compilation with clang fails. - A few other tweaks to add options, flush stdout, recognize .mm as objective-c++, and infer languages for compile+link style invocations. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55547 91177308-0d34-0410-b5e6-96231b3b80d8
2008-08-29Add utils/FindSpecRefs, Python script for generating specificationDaniel Dunbar
references HTML page. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55524 91177308-0d34-0410-b5e6-96231b3b80d8
2008-08-28Use explicit variable instead of $?Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55501 91177308-0d34-0410-b5e6-96231b3b80d8
2008-08-28Enhance ubiviz to support vertex styles.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55462 91177308-0d34-0410-b5e6-96231b3b80d8
2008-08-28Automatically execute ubiviz.Ted Kremenek
Cleanup ubigraph files when don't drawing the graphs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55459 91177308-0d34-0410-b5e6-96231b3b80d8