summaryrefslogtreecommitdiffstats
path: root/clang/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a little utility for interposing between a command line programDaniel Dunbar2009-03-041-0/+73
| | | | | | and capturing its invocations. llvm-svn: 66068
* ABITestGen: Add v2i16 and v16f32 as default vector types to generate.Daniel Dunbar2009-03-021-1/+1
| | | | llvm-svn: 65810
* Don't report 'Parser Rejects' for conftest files.Ted Kremenek2009-02-271-2/+4
| | | | llvm-svn: 65619
* Correctly check for ccc-analyzer in the same directory as scan-build.Ted Kremenek2009-02-271-1/+1
| | | | llvm-svn: 65618
* Pass -ffreestanding' to clang.Ted Kremenek2009-02-261-1/+2
| | | | llvm-svn: 65584
* For scan-build based analyses, use the '-analyzer-eargely-assume' setting by ↵Ted Kremenek2009-02-261-0/+1
| | | | | | default (turning it on to test how it impacts users). llvm-svn: 65535
* scan-build now looks for ccc-analyzer first in the 'bin' subdirectory and ↵Ted Kremenek2009-02-251-4/+5
| | | | | | then the directory where scan-build lives. llvm-svn: 65483
* Do not automatically run the 'missing -dealloc' check until we have adequate ↵Ted Kremenek2009-02-251-1/+2
| | | | | | time to make it much smarter (too much noise). llvm-svn: 65474
* Fix condition in ccc-analyzer that would cause the analyzer never to be run.Ted Kremenek2009-02-251-1/+1
| | | | llvm-svn: 65417
* ccc-analyzer: Don't analyze files with '-arch ppc' or '-arch ppc64' since ClangTed Kremenek2009-02-241-2/+10
| | | | | | | doesn't support Altivec intrisics nor is it likely that we're currently generating all the right #defines, etc., for those architectures. llvm-svn: 65390
* Add a very primitive clang based multifile 'delta'.Daniel Dunbar2009-02-241-0/+251
| | | | | | | | | | | | - Interface is more or less like multidelta. - Keep in mind it won't work very well; delta is O(N^2) frequently in practice. multidelta manages to work because it folds lines to keep N small, but this is just working on raw tokens. However, I have a fancy pants DAG based delta algorithm which will be the bees knees once I get it wired to clang. llvm-svn: 65377
* scan-build: Prune off any trailing '/' characters in the output directory path.Ted Kremenek2009-02-241-0/+3
| | | | llvm-svn: 65368
* Find 'clang' in 'bin' subdirectory instead of 'cbin'.Ted Kremenek2009-02-231-3/+3
| | | | llvm-svn: 65343
* Goodbye old-ccc; please use tools/ccc/ccc.Daniel Dunbar2009-02-231-418/+0
| | | | llvm-svn: 65335
* ABITestGen: Use explicit list of vector types instead of just a listDaniel Dunbar2009-02-221-10/+30
| | | | | | | of sizes. Turns out we don't care very much about vector types that don't map to the hardware. llvm-svn: 65263
* Update scan-build help diagnostic.Ted Kremenek2009-02-211-1/+1
| | | | llvm-svn: 65223
* Only create a preprocessed file for an ignored attribute if there currently ↵Ted Kremenek2009-02-211-3/+9
| | | | | | does not exist an 'attribute_ignored_XXX.txt' file for that attribute. llvm-svn: 65222
* Make 'RangeConstraintManager' the default ConstraintManager.Ted Kremenek2009-02-202-4/+5
| | | | llvm-svn: 65173
* Fix potential use of uninitialized variable.Ted Kremenek2009-02-201-1/+1
| | | | llvm-svn: 65109
* scan-build now searches for the clang binary in the subdirectory 'cbin'.Ted Kremenek2009-02-191-2/+2
| | | | llvm-svn: 65014
* ccc-analyzer:Ted Kremenek2009-02-172-49/+105
| | | | | | | | | | - now logs which source files had "ignored attributes". - disable-free is enabled scan-build: - now displays a table of ignored attributes under "Analyzer Failures". llvm-svn: 64853
* ABITest: Add some checking of values for return types; useful forDaniel Dunbar2009-02-171-1/+35
| | | | | | catching internal consistency problems (esp. w/ reference compiler). llvm-svn: 64847
* Note some more things to integrate into ABITestDaniel Dunbar2009-02-171-0/+3
| | | | llvm-svn: 64846
* Fix broken line.Ted Kremenek2009-02-171-1/+1
| | | | llvm-svn: 64740
* Static Analyzer driver/options (partial) cleanup:Ted Kremenek2009-02-172-10/+35
| | | | | | | | | | | | | | - Move all analyzer options logic to AnalysisConsumer.cpp. - Unified specification of stores/constraints/output to be: -analyzer-output=... -analyzer-store=... -analyzer-constraints=... instead of -analyzer-range-constraints, -analyzer-store-basic, etc. - Updated drivers (ccc-analyzer, scan-builds, new ccc) to obey this new interface - Updated test cases to conform to new driver options llvm-svn: 64737
* I didn't mean to change this.Chris Lattner2009-02-051-1/+1
| | | | llvm-svn: 63875
* fix some differences between apple gcc and clang on darwin/x86-32.Chris Lattner2009-02-051-1/+1
| | | | llvm-svn: 63846
* -x language fix.Fariborz Jahanian2009-02-031-0/+2
| | | | | | Patch by David Chisnall llvm-svn: 63686
* ABITest: Makefile tweaksDaniel Dunbar2009-01-292-24/+52
| | | | llvm-svn: 63330
* ABITest: Fix access to array test values.Daniel Dunbar2009-01-291-1/+4
| | | | llvm-svn: 63296
* ABITest: Fix test value generation for unions.Daniel Dunbar2009-01-291-1/+8
| | | | llvm-svn: 63286
* Use xcc (instead of clang directly).Daniel Dunbar2009-01-291-6/+5
| | | | llvm-svn: 63279
* ccc: Support -v; invent a version number for ccc for now, will beDaniel Dunbar2009-01-281-1/+2
| | | | | | shared with clang eventually. llvm-svn: 63220
* ABITest: Support --test-layout option for generatingDaniel Dunbar2009-01-282-7/+120
| | | | | | | size/alignment/offsetof based tests of types instead of calling convention tests. llvm-svn: 63167
* Use string comparison rather than '=='.Ted Kremenek2009-01-271-1/+1
| | | | llvm-svn: 63095
* PathDiagnostics:Ted Kremenek2009-01-271-4/+4
| | | | | | | | | | | | | - Add the distinction between the 'bug type' and the 'bug description' HTMLDiagnostics: - Output the bug type field as HTML comments scan-build: - Use the bug type field instead of the bug description for the HTML table. - Radar filing now automatically picks up the bug description in the title (addresses <rdar://problem/6265970>) llvm-svn: 63084
* Have 'Analyzer Failures' files be named to reflect the category of problem.Ted Kremenek2009-01-271-4/+9
| | | | llvm-svn: 63080
* ABITestGen: Add generation of vector types.Daniel Dunbar2009-01-262-24/+41
| | | | llvm-svn: 63024
* Add simple make based harness for running ABI tests.Daniel Dunbar2009-01-242-0/+128
| | | | llvm-svn: 62916
* Added clang option '--analyzer-display-progress' to indicate that the ↵Ted Kremenek2009-01-231-0/+1
| | | | | | analyzer should output 'ANALYZE:' messages to display its progress on a source file. llvm-svn: 62875
* Update CmpDriver to report missing commands.Daniel Dunbar2009-01-211-2/+11
| | | | llvm-svn: 62728
* Static Analyzer: When generating plists for errors reports, generate one ↵Ted Kremenek2009-01-211-4/+28
| | | | | | plist file per translation unit that contains all of the diagnostics. llvm-svn: 62647
* Add -analyze action to run static analyzer, instead of inferring fromDaniel Dunbar2009-01-201-0/+1
| | | | | | individual checker options. llvm-svn: 62634
* ccc: Darwin/x86: Add direct cpp support.Daniel Dunbar2009-01-201-1/+1
| | | | | | | | | | - Add Darwin_X86_CC1Tool which is shared by Darwin/x86/Compile and Darwin/x86/Preprocess tools. - Minor bug fixes (CmpDriver exit code, -x cpp-output handling, some linker argument translation). llvm-svn: 62551
* Return success indicator from CmpDriver.Daniel Dunbar2009-01-171-0/+9
| | | | llvm-svn: 62388
* Add utils/ABITest, my ABI test generation tool.Daniel Dunbar2009-01-153-0/+1068
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Mostly written as an entertaining exercise in enumerating large or (countably, naturally) infinite sets. But hey, its useful too! - Idea is to number all C-types so that the N-th type can quickly be computed, with a good deal of flexibility about what types to include, and taking some care so that the (N+1)-th type is interestingly different from the N-th type. For example, using the default generator, the 1,000,000-th function type is: -- typedef _Complex int T0; typedef char T1 __attribute__ ((vector_size (4))); typedef int T2 __attribute__ ((vector_size (4))); T2 fn1000000(T0 arg0, signed long long arg1, T1 arg2, T0 arg3); -- and the 1,000,001-th type is: -- typedef _Complex char T0; typedef _Complex char T2; typedef struct T1 { T2 field0; T2 field1; T2 field2; } T1; typedef struct T3 { } T3; unsigned short fn1000001(T0 arg0, T1 arg1, T3 arg2); -- Computing the 10^1600-th type takes a little less than 1s. :) llvm-svn: 62253
* CmpDriver: Allow over-ride of drivers to compare through env variablesDaniel Dunbar2009-01-141-3/+3
| | | | | | (DRIVER_[AB]). llvm-svn: 62242
* Add simple tool for comparing drivers (hardcoded to gcc and xcc) whichDaniel Dunbar2009-01-131-0/+175
| | | | | | support -###. llvm-svn: 62156
* Add utils/SummarizeErrors.Daniel Dunbar2009-01-091-0/+99
| | | | | | | | - Little script for scanning a compile log and summarizing warnings, errors, assertions, and crashes. - Is very slow, and stack trace regexs probably only work on Darwin. llvm-svn: 62013
* ccc (old): Pass -arch through to assembler if given.Daniel Dunbar2009-01-071-7/+10
| | | | llvm-svn: 61833
OpenPOWER on IntegriCloud