- Aug 23, 2012
-
-
Daniel Dunbar authored
llvm-svn: 162402
-
- Aug 22, 2012
-
-
Jim Ingham authored
Rework how the API mutex is acquired when filling out an ExecutionContext from an ExecutionContextRef, particularly in the SBThread & SBFrame interfaces. Instead of filling the whole context & then getting the API mutex, we now get only the target, acquire the API mutex from it, then fill out the rest of the context. This removes a race condition where you get a ThreadSP, then wait on the API mutex while another command Destroy's the Thread you've just gotten. Also fixed the ExecutionContextRef::Get*SP calls so they don't return invalid objects. Also fixed the ExecutionContext::Has*Scope calls so they don't claim to have a scope if the object representing that scope has been destroyed. Also fixed a think-o in Thread::IsValid which was causing it to return the opposite of the desired value. <rdar://problem/11995490> llvm-svn: 162401
-
Jim Ingham authored
llvm-svn: 162400
-
Anna Zaks authored
llvm-svn: 162399
-
Anna Zaks authored
The checker adds assumptions that the return values from the known APIs are non-nil. Teach the checker about NSArray/NSMutableArray/NSOrderedSet objectAtIndex, objectAtIndexedSubscript. llvm-svn: 162398
-
Jason Molenda authored
Change the man page install phase to only run in "desktop" and "desktop-no-xpc" targets, not for the "ios" target. llvm-svn: 162397
-
Chad Rosier authored
llvm-svn: 162396
-
Chad Rosier authored
llvm-svn: 162394
-
Chad Rosier authored
llvm-svn: 162393
-
Chad Rosier authored
llvm-svn: 162392
-
Alexander Kornienko authored
static variables. llvm-svn: 162391
-
Chad Rosier authored
Eventually, we'll need a way of mapping tokens (and their IdentifierInfo*) to the operands computed by buildMSAsmPieces(). llvm-svn: 162388
-
Johnny Chen authored
Modified .lldb-loggings now to direct the lldb log files to the same session directory which also houses the test logs. llvm-svn: 162387
-
Ted Kremenek authored
another way to whitelist these special cases. This is an intermediate patch. llvm-svn: 162386
-
Chad Rosier authored
llvm-svn: 162385
-
Ted Kremenek authored
As part of this change, I discovered that a few of our tests were not testing the RangeConstraintManager. Luckily all of those passed when I moved them over to use that constraint manager. llvm-svn: 162384
-
Benjamin Kramer authored
llvm-svn: 162383
-
Chad Rosier authored
The parser still can't handle all cases, so fall back to emitting a simple MSAsmStmt if we get into trouble. llvm-svn: 162382
-
Chad Rosier authored
Assertion failed: (Start.isValid() == End.isValid() && "Start and end should either both be valid or both be invalid!") when parsing inline asm. SMLoc assumes that the first char * in the source is invalid. However, when parsing an inline asm the mnemonic is at this location. I don't want to change SMLoc, so use a trivial workaround. llvm-svn: 162381
-
Benjamin Kramer authored
The conditions described by POSIX can never happen with IEEE-754 floats. When the function is const we can emit a single sse4.1 instruction for it, without losing anything :) llvm-svn: 162379
-
Johnny Chen authored
Demonstrate how to use the config file and the pre-flight functionality to route the lldb gdb-remote log messages into individually named log destinations. In the simple usage-lldb-loggings example, we ran two cases which resulted in two lldb_log files. llvm-svn: 162378
-
Greg Clayton authored
llvm-svn: 162376
-
Benjamin Kramer authored
There were missed optimizations when the system headers didn't have attributes in place, specifically: - Add copysign, exp2, log2, nearbyint, rint and trunc to the list. These are functions that get inlined by LLVM's optimizer, but only when they have the right attributes. - Mark copysign, fabs, fmax, fmin and trunc const unconditionally. Previously these were only const with -fno-math-errno, but they never set errno per POSIX. For ceil/floor/nearbyint/round I'm not aware of any implementation that sets errno, but POSIX says it may signal overflow so I left them alone for now. llvm-svn: 162375
-
Dmitri Gribenko authored
llvm-svn: 162374
-
Filipe Cabecinhas authored
llvm-svn: 162373
-
Johnny Chen authored
llvm-svn: 162372
-
Dmitri Gribenko authored
implicit instantiation, look for documentation attached to the template. llvm-svn: 162371
-
Chad Rosier authored
llvm-svn: 162370
-
Chad Rosier authored
llvm-svn: 162369
-
Chad Rosier authored
optimizations are guarded by the -enable-double-float-shrink LLVM option. Last bit of PR13574. Patch by Weiming Zhao <weimingz@codeaurora.org>. llvm-svn: 162368
-
David Blaikie authored
Based on CR feedback from r162301 and Craig Topper's refactoring in r162347 here are a few other places that could use the same API (& in one instance drop a Function.h dependency). llvm-svn: 162367
-
Greg Clayton authored
Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: - no setting auto completion - very manual and error prone way of getting/setting variables - tons of code duplication - useless instance names for processes, threads Now settings can easily be defined like option values. The new settings makes use of the "OptionValue" classes so we can re-use the option value code that we use to set settings in command options. No more instances, just "does the right thing". llvm-svn: 162366
-
Jordan Rose authored
Since DynamicTypeInfo is not inherently related to inlining or to dynamic calls, it makes more sense (to me) to discuss it first. Also fix some typos, massage some grammar, and (hopefully) improve precision and clarity. llvm-svn: 162365
-
Jordan Rose authored
Also, remove the FIXME about merging -analyzer-stats and the debug.Stats checker. This would be a bad idea because simply running debug.Stats can affect the output of -analyzer-stats. llvm-svn: 162364
-
Chad Rosier authored
functional change intended. Patch by Weiming Zhao <weimingz@codeaurora.org>. llvm-svn: 162363
-
Benjamin Kramer authored
llvm-svn: 162362
-
Benjamin Kramer authored
llvm-svn: 162361
-
Rafael Espindola authored
declarations. Fixes pr13662. llvm-svn: 162360
-
Alexey Samsonov authored
llvm-svn: 162359
-
Alexey Samsonov authored
[ASan] get rid of ASAN_USE_EXTERNAL_SYMBOLIZER compiler def in favor of __asan_set_symbolize_callback interface function. Now the user doesn't have to recompile ASan runtime to provide its own symbolizer llvm-svn: 162358
-