- May 09, 2013
-
-
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
-
Daniel Malea authored
- made all functions virtual so that subclasses can specialize them - add printInstructionLine so that subclasses can choose whether or not to print the newline character (without having to implement printBasicBlock() - added a second constructor to AssemblyWriter that does not require a SlotTracker, as required in order to keep the SlotTracker helper class outside AsmWriter.h and buried in the implementation. llvm-svn: 181466
-
Richard Smith authored
llvm-svn: 181465
-
Fariborz Jahanian authored
llvm-svn: 181464
-
Daniel Malea authored
- previously formatted_raw_ostream tracked columns, now it tracks lines too - used by (upcoming) DebugIR pass to know the line number to connect to each IR instruction llvm-svn: 181463
-
rdar://problem/13621080Enrico Granata authored
This commit changes the ${function.name-with-args} prompt keyword to also tackle structs Previously, since aggregates have no values, this would show up as foo=(null) This checkin changes that to instead print foo=(Foo at 0x123) (i.e. typename at address) There are other potential choices here (summary, one-liner printout of all members, ...) and I would love to hear feedback about better options, if any llvm-svn: 181462
-
Enrico Granata authored
llvm-svn: 181461
-
Matt Kopec authored
llvm-svn: 181460
-
Akira Hatanaka authored
llvm-svn: 181459
-
Fariborz Jahanian authored
documentation commands. Patch was reviewed, along with great suggestions for improvement, by Doug. // rdar://12381408 llvm-svn: 181458
-
Peter Collingbourne authored
llvm-svn: 181457
-
Matt Kopec authored
llvm-svn: 181454
-
Ulrich Weigand authored
[PowerPC] Add ELF relocation tests This patch extends test/MC/PowerPC/ppc64-fixups.s to not only check for the correct fixup type in the --show-encoding output, but also runs the generated object file through llvm-readobj -r and verifies that the correct ELF relocation records were generated. llvm-svn: 181453
-
Roman Divacky authored
llvm-svn: 181452
-
Ulrich Weigand authored
[PowerPC] Add some missing PPC64 relocs All R_PPC_... relocs should also be present (using the same number) under the corresponding R_PPC64_... name. The latter were missing for a couple of cases, which this patch adds. This is not a big problem when emitting the reloc, because we can just use the R_PPC_... define instead. But it is a problem when *dumping* relocations e.g. using llvm-readobj, because this will expect only R_PPC64_... values when inspecting a ppc64 ELF file. llvm-svn: 181451
-
Ulrich Weigand authored
[PowerPC] Fix regression in generating @ha/@l relocs The patch I committed as revision 167864 introduced a regression that causes LLVM to no longer generate appropriate relocs for @ha/@l symbol references (but fail an assertion instead). This is fixed here by re-enabling support for the VK_PPC_GAS_HA16/ VK_PPC_GAS_LO16 variant kinds (and their Darwin variants) in PPCELFObjectWriter.cpp. Tested by running projects/test-suite in -m32 mode with the integrated assembler forced on. A standalone test case will be committed shortly as well. llvm-svn: 181450
-
Bill Schmidt authored
This fixes bug 15821 similarly to the powerpc64-linux fix for bug 14779. Patch by David Fang. llvm-svn: 181449
-
Matt Kopec authored
Also mark one of the tests as expected fail on Linux due to the debian fix. llvm-svn: 181448
-
Matt Kopec authored
llvm-svn: 181447
-
Daniel Malea authored
- Played with the current dual run lock implementation for a few days, noticed no regressions, so enabling in trunk so we see if any problems are detected by buildbots. llvm-svn: 181446
-