- May 09, 2013
-
-
Kai Nacke authored
Add one of my contributions to CREDITS.TXT. llvm-svn: 181508
-
Richard Smith authored
object x, x's subobjects can be constructed by constexpr constructor even if they are of non-literal type, and can be read and written even though they're not members of a constexpr object or temporary. llvm-svn: 181506
-
Ted Kremenek authored
llvm-svn: 181505
-
Ted Kremenek authored
llvm-svn: 181504
-
Rui Ueyama authored
llvm-svn: 181503
-
Rafael Espindola authored
It was only implemented for ELF where it collected the Addend, so this patch also renames it to getRelocationAddend. llvm-svn: 181502
-
Greg Clayton authored
namespace lldb_private { class Thread { virtual lldb::StopInfoSP GetPrivateStopReason() = 0; }; } To not be virtual. The lldb_private::Thread now handles the correct caching and will call a new pure virtual function: namespace lldb_private { class Thread { virtual bool CalculateStopInfo() = 0; } } This function must be overridden by thead lldb_private::Thread subclass and the only thing it needs to do is to set the Thread::StopInfo() with the current stop reason and return true, or return false if there is no stop reason. The lldb_private::Thread class will take care of calling this function only when it is required. This allows lldb_private::Thread subclasses to be a bit simpler and not all need to duplicate the cache and invalidation settings. Also renamed: lldb::StopInfoSP lldb_private::Thread::GetPrivateStopReason(); To: lldb::StopInfoSP lldb_private::Thread::GetPrivateStopInfo(); Also cleaned up a case where the ThreadPlanStepOverBreakpoint might not re-set its breakpoint if the thread disappears (which was happening due to a bug when using the OperatingSystem plug-ins with memory threads and real threads). llvm-svn: 181501
-
Enrico Granata authored
This one actually exploits the SB API to obtain information about your inferior process llvm-svn: 181500
-
Sean Callanan authored
to the DeclContext. This fulfils the contract that we make with Clang by returning ELR_AlreadyLoaded. This is a little aggressive in that it does not allow the ASTImporter to import the child decls with any lexical parent other than the Decl that reported them as children. <rdar://problem/13517713> llvm-svn: 181498
-
Enrico Granata authored
Changing the std::map test case to use source breakpoints instead of relying on the nexting always "getting it right" to stop at the locations of interest This should make us more robust in the face of changing compiler line tables and other library modifications llvm-svn: 181497
-
Eric Christopher authored
temporarily while investigating gdb.cp/templates.exp. This reverts commit r181471. llvm-svn: 181496
-
Arnold Schwaighofer authored
A computable loop exit count does not imply the presence of an induction variable. Scalar evolution can return a value for an infinite loop. Fixes PR15926. llvm-svn: 181495
-
Ted Kremenek authored
Put some diagnostics in DiagnosticCommonKinds.td in a category, mirroring what they are in other .td files. I really dislike the copy-pasting of the category strings. If there is a better way to do this with TableGen, please advise. llvm-svn: 181494
-
Jim Ingham authored
llvm-svn: 181493
-
Rui Ueyama authored
llvm-svn: 181492
-
Nico Weber authored
clang would omit 'C' for 'copy' properties and '&' for 'retain' properties if the property was also 'readonly'. Fix this, which makes clang match gcc4.2's behavior. Fixes PR15928. llvm-svn: 181491
-
Argyrios Kyrtzidis authored
This made sense in pre-module era, before merging of HeaderFileInfos was introduced. Final part of rdar://13840148. llvm-svn: 181490
-
Argyrios Kyrtzidis authored
[modules] When building a module, make sure we don't serialize out HeaderFileInfo for headers not belonging to the module. After r180934 we may initiate module map parsing for modules not related to the module what we are building, make sure we ignore the header file info of headers from such modules. First part of rdar://13840148 llvm-svn: 181489
-
Greg Clayton authored
Fixed the process attach by name test to get the target _after_ doing process attach. Otherwise the target isn't valid. This fixes 2 test suite failures on darwin. llvm-svn: 181488
-
Fariborz Jahanian authored
under -Wdocumentation-unknown-command and off by default. patch by Dmitri Gribenko. llvm-svn: 181487
-
Greg Clayton authored
llvm-svn: 181486
-
Adrian Prantl authored
llvm-svn: 181485
-
Rui Ueyama authored
We need to acquire a lock before signal a condition. Otherwise threads waiting on a condition variable can miss a signal. Consider two threads: Thread A executing dec() and thread B executing sync(). The initial value of _count is 1. If these two threads are interleaved in the following order, thread B misses the signal sent by thread A, because at the time thread A sends a signal, B is not waiting for it. Thread A | Thread B | std::unique_lock<std::mutex> lock(_condMut); | while (!(_count == 0)) { if (--_count == 0) | _cond_notify_all() | | _cond.wait(); | } Note that "wait(lock, pred)" is equivalent to "while(!pred()) wait(lock)", so I expanded it in the above example. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D764 llvm-svn: 181484
-
Rui Ueyama authored
Summary: Add the explicit keyword to one-parameter constructors to prevent unintended type conversions. CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D765 llvm-svn: 181483
-
Andrew Kaylor authored
llvm-svn: 181482
-
Dmitri Gribenko authored
llvm-svn: 181481
-
Dmitri Gribenko authored
llvm-svn: 181480
-
Fariborz Jahanian authored
llvm-svn: 181479
-
Dmitri Gribenko authored
llvm-svn: 181478
-
Fariborz Jahanian authored
dynamically registered commands. // rdar://12381408 llvm-svn: 181477
-
- May 08, 2013
-
-
Daniel Malea authored
- the temporaries "-debug.ll" files generated by DebugIR pass are considered tests, even though they are not llvm-svn: 181476
-
Enrico Granata authored
llvm-svn: 181475
-
Greg Clayton authored
llvm-svn: 181474
-
Nick Kledzik authored
llvm-svn: 181473
-
Enrico Granata authored
llvm-svn: 181472
-
Eric Christopher authored
for constructors and destructors since the original declaration given by the AT_specification both won't and can't. Patch by Yacine Belkadi, I've cleaned up the testcases. llvm-svn: 181471
-
-
Daniel Malea authored
- simple one-function case - function-calling case - external function calling case - exception throwing case - vector case Note: these tests are somewhat coupled to the current format of debug metadata. llvm-svn: 181469
-
Eli Bendersky authored
is of the llvm.sjlj.* flavore) and convert grep->FileCheck llvm-svn: 181468
-
Daniel Malea authored
- requires existing debug information to be present - fixes up file name and line number information in metadata - emits a "<orig_filename>-debug.ll" succinct IR file (without !dbg metadata or debug intrinsics) that can be read by a debugger - initialize pass in opt tool to enable the "-debug-ir" flag - lit tests to follow llvm-svn: 181467
-