| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
'fork'+'exec' combination made scan-build and ccc-analyzer hang under Windows. The patch replaces 'fork'+'exec' with more reliable 'system' (ccc-analyzer) and piped 'open' (scan-build). See http://reviews.llvm.org/D8774 and http://reviews.llvm.org/D9357 for more details.
llvm-svn: 241201
|
|
|
|
| |
llvm-svn: 239971
|
|
|
|
|
|
| |
An old code caused problems under Windows - additional temporary file was created for clang preprocessor output while the right output file remained empty.
llvm-svn: 239970
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patch by Honggyu Kim
Summary:
This patch removes useless whitespace in File path in index.html
Previously, a File directory path is copied and pasted as below:
arch /arm /kernel /stacktrace.c
It just removes the whitespace between directories and makes the
copied string as below:
arch/arm/kernel/stacktrace.c
The output looks same in html format, but the copied directory path
can be pasted as it looks.
Reviewers: krememek, zaks.anna, sylvestre.ledru
Reviewed By: sylvestre.ledru
Subscribers: aemerson, cfe-commits
Differential Revision: http://reviews.llvm.org/D10354
llvm-svn: 239609
|
|
|
|
|
|
|
|
| |
This reverts commit r236423 and its followup r236533, as indiscriminate
quoting makes for too much quoting (and clang doesn't like both '"-c"'
and -D"FOO=bar").
llvm-svn: 236562
|
|
|
|
|
|
| |
Wrap an argument with quotes only if it has spaces.
llvm-svn: 236533
|
|
|
|
|
|
| |
This fixes errors that occur if a path to the default compiler has spaces or if an argument with spaces is given to compiler (e.g. via -I). (http://reviews.llvm.org/D9357)
llvm-svn: 236423
|
|
|
|
|
|
| |
Do not fail when "" is one of the compilation arguments.
llvm-svn: 233465
|
|
|
|
|
|
| |
Patch by Thomas Hauth!
llvm-svn: 227946
|
|
|
|
| |
llvm-svn: 225039
|
|
|
|
|
|
| |
to automatically infer the SDK location.
llvm-svn: 225038
|
|
|
|
| |
llvm-svn: 223426
|
|
|
|
| |
llvm-svn: 222851
|
|
|
|
|
|
| |
additional utilities are involved, e.g. 'env' utility that present in MSYS but is missing in MinGW. The patch unifies launch of "c++-analyzer" and "ccc-analyzer".
llvm-svn: 219812
|
|
|
|
| |
llvm-svn: 219794
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the --use-cc option.
Instead, we will search in the PATH
For example:
scan-build --use-cc=arm-none-eabi-gcc -o out make -e
Initially reported as a Debian Bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748777
llvm-svn: 215229
|
|
|
|
| |
llvm-svn: 213236
|
|
|
|
|
|
|
|
|
|
| |
longer exists
Experienced with Thunderbird build
Patch by Matti Niemenmaa
llvm-svn: 213235
|
|
|
|
|
|
| |
Also consolidate 'backward compatibility'
llvm-svn: 212974
|
|
|
|
| |
llvm-svn: 211053
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise, it could allows local users to obtain sensitive information or
overwrite arbitrary files via a symlink attack on temporary directories with
predictable names.
Reported as CVE-2014-2893 ( https://security-tracker.debian.org/tracker/CVE-2014-2893 )
Found by Jakub Wilk
llvm-svn: 211051
|
|
|
|
| |
llvm-svn: 210971
|
|
|
|
|
|
|
|
| |
instead of report-XXXXXX.html, scan-build/clang analyzer generate
report-<filename>-<function, method name>-<function position>-<id>.html.
(id = i++ for several issues found in the same function/method)
llvm-svn: 210970
|
|
|
|
|
|
| |
Depends on http://reviews.llvm.org/D3762
llvm-svn: 209527
|
|
|
|
| |
llvm-svn: 209526
|
|
|
|
| |
llvm-svn: 209524
|
|
|
|
| |
llvm-svn: 208951
|
|
|
|
|
|
| |
PR19704
llvm-svn: 208595
|
|
|
|
|
|
| |
PR19583
llvm-svn: 207484
|
|
|
|
| |
llvm-svn: 206752
|
|
|
|
|
|
| |
Third time's the charm. Patch by Brennan Shacklett!
llvm-svn: 204362
|
|
|
|
|
|
|
|
|
| |
Because neither ' ' nor '-' is alphanumeric, \b won't match between them!
Since in this case we know our output is coming from a -### invocation,
we should always have spaces on both sides of the flag we're trying to match,
"-cc1".
llvm-svn: 204356
|
|
|
|
|
|
| |
PR19191
llvm-svn: 204253
|
|
|
|
| |
llvm-svn: 202182
|
|
|
|
|
|
|
|
|
| |
variable is defined but empty.
Extend the test (like it is done in scan-build) to check also if the variable
is empty or not.
llvm-svn: 201586
|
|
|
|
| |
llvm-svn: 201584
|
|
|
|
| |
llvm-svn: 201570
|
|
|
|
| |
llvm-svn: 201182
|
|
|
|
|
|
| |
More universal way of removing trailing whitespace characters then 'chomp' does. Chomp "removes any trailing string that corresponds to the current value of $/" (quote from perldoc). In my case an input ended with '\r\r\n', chomp left '\r' at the end of input and the script ended up with an error "Use of uninitialized value in concatenation (.) or string"
llvm-svn: 199892
|
|
|
|
|
|
| |
PR18339
llvm-svn: 198711
|
|
|
|
|
|
|
|
|
| |
-analyzer-config options are now passed from scan-build through to
ccc-analyzer and then to clang.
Patch by Daniel Connelly!
llvm-svn: 197246
|
|
|
|
| |
llvm-svn: 196510
|
|
|
|
|
|
|
|
|
|
| |
Some of the shared compiler/linker flags start with -m, so they've been
getting passed to the compiler only since r180073. Now, the -m* wildcard
is processed after the shared flags and the ignored flags.
Found by Laszlo Nagy!
llvm-svn: 193184
|
|
|
|
|
|
| |
Patch by Kevin Zheng!
llvm-svn: 190789
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is necessary when running two scan-build processes in parallel. The
directory naming scheme is now:
yyyy-MM-dd-HHmmss-PID-N
2013-09-13-174210-123-1
where "PID" is the scan-build process ID, and "N" is a sequential counter
(not likely to be needed now that seconds are mangled in, but just in case).
PR17196, using a suggested fix from Greg Czajkowski!
llvm-svn: 190735
|
|
|
|
|
|
|
|
|
| |
Variables set in a makefile are not overridden by environment variables.
Make sure we actually override CC and CXX when using scan-build.
Patch by Steve McCoy!
llvm-svn: 189372
|
|
|
|
|
|
| |
and msys perl ports.
llvm-svn: 188607
|
|
|
|
| |
llvm-svn: 187989
|
|
|
|
|
|
| |
Thanks, Dmitry!
llvm-svn: 186167
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These flags control language options and user-visible macros, so it's
important to preserve them when analyzing. Rather than try to keep up
with all the -f flags, we'll pass them all through and then ban the ones
we don't want (like -fsyntax-only).
-Wwrite-strings is really an f-flag in disguise: it implies -fconst-strings.
Patch by Keaton Mowry, modified by me.
llvm-svn: 186138
|