- Apr 29, 2009
-
-
Dale Johannesen authored
llvm-svn: 70386
-
Steve Naroff authored
llvm-svn: 70385
-
Eli Friedman authored
llvm-svn: 70384
-
Ted Kremenek authored
llvm-svn: 70383
-
Ted Kremenek authored
reasoning about OSCompareAndSwap32Barrier/OSCompareAndSwap64Barrier. Essentially the address of reference to a region (pointer-to-pointer) can be casted to (int32_t*), and we need to handle the logic to convert the involved locations back and forth from nonloc::LocAsInteger, nonloc::ConcreteInt, to Loc and loc::ConcreteInt respectively. This adds some potentially suspect logic to BasicStoreManager that allows the analyzer to reason about abuses of the C type system. This should probably be refined, be ported over to RegionStoreManager, and extended with "path-sensitive type checking" to flag bugs in clearly incoherent code. llvm-svn: 70382
-
Ted Kremenek authored
name of the tracked function. llvm-svn: 70381
-
Zhongxing Xu authored
llvm-svn: 70380
-
Sanjiv Gupta authored
llvm-svn: 70379
-
Evan Cheng authored
spillPhysRegAroundRegDefsUses() may have invalidated iterators stored in fixed_ IntervalPtrs. Reset them. llvm-svn: 70378
-
Chris Lattner authored
llvm-svn: 70375
-
Zhongxing Xu authored
llvm-svn: 70374
-
Chris Lattner authored
llvm-svn: 70373
-
Nate Begeman authored
llvm-svn: 70372
-
Chris Lattner authored
1. In a struct field redefinition, don't mark the struct erroneous. The field is erroneous, but the struct is otherwise well formed. 2. Don't emit diagnostics about functions that are known to be broken already. Either fix is sufficient to silence the second diagnostic in the example, but the combination is better :) llvm-svn: 70371
-
Ted Kremenek authored
llvm-svn: 70369
-
Chris Lattner authored
This enables one specific class of non-literal format warnings. llvm-svn: 70368
-
Chris Lattner authored
llvm-svn: 70367
-
Sanjiv Gupta authored
llvm-svn: 70366
-
Chris Lattner authored
on by default). llvm-svn: 70365
-
Chris Lattner authored
llvm-svn: 70364
-
Chris Lattner authored
the extra argument warnings, and -Wformat -Wno-format-extra-args turns on -Wformat but not the extra-args warnings. llvm-svn: 70363
-
Chris Lattner authored
1. All all variants of -Wformat*, make them imply -Wformat. GCC warns if you use -Wformatfoo without -Wformat. We just make one imply the other. 2. Make -Wformat-nonliteral default to off, like gcc. It is an incredible nuisance. 3. Accept but currently ignore -Wformat-extra-args. llvm-svn: 70362
-
Chris Lattner authored
llvm-svn: 70361
-
Chris Lattner authored
anything larger than 64-bits, avoiding a crash. This should really be fixed to use APInts, though type legalization happens to help us out and we get good code on the attached testcase at least. This fixes rdar://6836460 llvm-svn: 70360
-
Zhongxing Xu authored
llvm-svn: 70359
-
Zhongxing Xu authored
llvm-svn: 70358
-
Dan Gohman authored
llvm-svn: 70357
-
Zhongxing Xu authored
llvm-svn: 70356
-
Daniel Dunbar authored
- Mirroring LLVM's docs/CommandGuide, a place to put .pod files which are used to generate man/html/etc documentation for tools provided as part of clang. llvm-svn: 70355
-
Dan Gohman authored
llvm-svn: 70354
-
Mike Stump authored
llvm-svn: 70353
-
Ted Kremenek authored
on ObjCMessageExpr. This will enable us to use it elsewhere. This should not change any functionality. llvm-svn: 70352
-
Evan Cheng authored
Determine allocation 'preference' with right register class. I haven't seen this changing codegen so no test case. llvm-svn: 70351
-
-
Bill Wendling authored
an optimization level instead of a simple boolean telling it to generate code "fast" or the other type of "fast". llvm-svn: 70347
-
Bill Wendling authored
Massive check in. This changes the "-fast" flag to "-O#" in llc. If you want to use the old behavior, the flag is -O0. This change allows for finer-grained control over which optimizations are run at different -O levels. Most of this work was pretty mechanical. The majority of the fixes came from verifying that a "fast" variable wasn't used anymore. The JIT still uses a "Fast" flag. I'll change the JIT with a follow-up patch. llvm-svn: 70343
-
Bill Wendling authored
llvm-svn: 70340
-
Douglas Gregor authored
llvm-svn: 70339
-
Douglas Gregor authored
llvm-svn: 70338
-
Chris Lattner authored
lines that clang extracts from the source code so that machine parsing can easily ignore them. llvm-svn: 70337
-