- Aug 22, 2012
-
-
Ted Kremenek authored
all forwarding methods. This functionality is already covered by bindLoc(). llvm-svn: 162346
-
Ted Kremenek authored
add doxygen comments. llvm-svn: 162345
-
Craig Topper authored
Don't cache the MBB in the class. Its only used by one function. Change a for loop over operands to use unsigned instead of int. llvm-svn: 162344
-
Anna Zaks authored
bifurcation) llvm-svn: 162343
-
Craig Topper authored
llvm-svn: 162342
-
Ted Kremenek authored
llvm-svn: 162341
-
Akira Hatanaka authored
to prevent it from being clobbered. mips uses $gp to access small data section. This bug was originally reported by Carl Norum. llvm-svn: 162340
-
Akira Hatanaka authored
default. Patch by Carl Norum. llvm-svn: 162339
-
Ted Kremenek authored
Formatting includes: - removing line wraps (Emacs Cmd-Q), to make text easier to read - provide useful indentation - call out caveats and notes more explictly Stylistically, I prefer the document talk in 3rd person instead of "we". The term "we" is unambiguous, and sometimes refers to different things. I've passed over the existing paragraphs and made them speak more about specific entities that compose the analyzer and what they do (e.g., ExprEngine) instead of "we" referring to the analyzer. Further, I have substituted some vague concepts such as "state" or "program state" and replaced them with their precise implementation counterparts (e.g., ProgramState). This makes the document more technically precise throughout the entire narrative, which would sometimes use vague terms and other times precise terms. I've placed several comments within the document, which can be seen with ***TMK/COMMENT***, which indicate places that need to be enhanced or clarified, or called out as questions about intended bheavior. llvm-svn: 162338
-
Jim Grosbach authored
No change in interface or functionality. Purely under-the-hood details of the generated function that change. The X86 assembly parser is reduced in size by over 15% and ARM by over 10%. No performance change by my measurements. llvm-svn: 162337
-
Jordan Rose authored
llvm-svn: 162336
-
Marshall Clow authored
llvm-svn: 162335
-
Jack Carter authored
within the codegen EK_GPRel64BlockAddress. This was not supported for direct object output and resulted in an assertion. This change adds support for EK_GPRel64BlockAddress for direct object. One fallout from this is to turn on rela relocations for mips64 to match gas. llvm-svn: 162334
-
Richard Smith authored
SelectionDAG's 'init' has not been called when the SelectionDAGBuilder is constructed (in SelectionDAGISel's constructor), so this was previously always initialized with 0. llvm-svn: 162333
-
Johnny Chen authored
'add-dsym' (aka 'target symbols add') should display error messages when dsym file is not found or the dsym uuid does not match any existing modules. Add TestAddDsymCommand.py test file. llvm-svn: 162332
-
Richard Smith authored
Reduce alignment of SmallVector<T> to the required amount, rather than forcing 16-byte alignment. This fixes misaligned SmallVector accesses via ExtractValueInst's SmallVector data member. llvm-svn: 162331
-
Ted Kremenek authored
llvm-svn: 162330
-
Chad Rosier authored
Patch by Weiming Zhao <weimingz@codeaurora.org>. llvm-svn: 162329
-
Johnny Chen authored
Fix test failures in TestWatchpointIter.py due to http://llvm.org/viewvc/llvm-project?rev=162322&view=rev. llvm-svn: 162328
-
Chad Rosier authored
between Bob, Jim, Eric and I, we've decided to take a slightly different approach. llvm-svn: 162327
-
Matt Beaumont-Gay authored
llvm-svn: 162325
-
Fariborz Jahanian authored
llvm-svn: 162324
-
Johnny Chen authored
Remove the process->DisableWatchpoint() and EnableWatchpoint() calls since the sentry object is already doing that. llvm-svn: 162323
-
Johnny Chen authored
Watchpoint conditions were hitting watchpoint, smashing LLDB's stack. Make sure watchpoint is properly disabled and subsequently enabled while performing watchpoint actions. llvm-svn: 162322
-
- Aug 21, 2012
-
-
Chad Rosier authored
Add a new static function, buildMSAsmPieces, that will break these strings down into mnemonic and operands. Upon a match failure, the idea is to use the ErrorInfo from MatchInstructionImpl to inspect the mnemonic/operand and decide a course of action. Unfortunately, there's no easy way to test this at the moment. llvm-svn: 162321
-
Fariborz Jahanian authored
// rdar://12103400 llvm-svn: 162320
-
Fariborz Jahanian authored
class extensions a little. clang now allows readonly property with no ownership rule (assign, unsafe_unretained, weak, retain, strong, or copy) with a readwrite property with an ownership rule. // rdar://12103400 llvm-svn: 162319
-
Jordan Rose authored
Under -analyzer-ipa=basic-inlining, only C functions, blocks, and C++ static member functions are inlined -- essentially, the calls that behave like simple C function calls. This is essentially the behavior in Xcode 4.4. C++ support still has some rough edges, and we don't want users to be worried about them if they download and run their own checker. (In particular, the massive number of false positives for analyzing LLVM comes from inlining defensively-written code in contexts where more aggressive assumptions are implicitly made. This problem is not unique to C++, but it is exacerbated by the higher proportion of code that lives in header files in C++.) The eventual goal is to be comfortable enough with C++ support (and simple Objective-C support) to advance to -analyzer-ipa=inlining as the default behavior. See the IPA design notes for more details. llvm-svn: 162318
-
Jordan Rose authored
The actual change here is a little more complicated than the summary above. What we want to do is have our generic inlining tests run under whatever mode is the default. However, there are some tests that depend on the presence of C++ inlining, which still has some rough edges. These tests have been explicitly marked as -analyzer-ipa=inlining in preparation for a new mode that limits inlining to C functions and blocks. This will be the default until the false positives for C++ have been brought down to manageable levels. llvm-svn: 162317
-
Dmitri Gribenko authored
llvm-svn: 162316
-
Dmitri Gribenko authored
Skip paragraphs that contain only whitespace. llvm-svn: 162315
-
Richard Smith authored
strict weak ordering, and don't pass possibly-null pointers to dyn_cast. llvm-svn: 162314
-
Jordan Rose authored
This reduces duplication across the Basic and Range constraint managers, and keeps their internals free of dealing with the semantics of C++. It's still a little unfortunate that the constraint manager is dealing with this at all, but this is pretty much the only place to put it so that it will apply to all symbolic values, even when embedded in larger expressions. llvm-svn: 162313
-
Richard Smith authored
int64_t, Symbol64TableEntry is actually only stored with 4-byte alignment within the file. The usage of #pragma pack here is copied from the corresponding code in Support/Endian.h, so shouldn't introduce any new portability problems. llvm-svn: 162312
-
Richard Smith authored
no cost to using memcpy here: the fixed code is optimized by LLVM to perfect machine code. llvm-svn: 162311
-
Richard Smith authored
llvm-svn: 162310
-
Richard Smith authored
llvm-svn: 162309
-
Johnny Chen authored
llvm-svn: 162308
-
Chad Rosier authored
llvm-svn: 162307
-
Chad Rosier authored
llvm-svn: 162306
-