| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
temporarily while investigating gdb.cp/templates.exp.
This reverts commit r181471.
llvm-svn: 181496
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 181493
|
| |
|
|
| |
llvm-svn: 181492
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
This made sense in pre-module era, before merging of HeaderFileInfos was introduced.
Final part of rdar://13840148.
llvm-svn: 181490
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
process attach. Otherwise the target isn't valid. This fixes 2 test suite failures on darwin.
llvm-svn: 181488
|
| |
|
|
|
|
|
| |
under -Wdocumentation-unknown-command and off by default.
patch by Dmitri Gribenko.
llvm-svn: 181487
|
| |
|
|
| |
llvm-svn: 181486
|
| |
|
|
| |
llvm-svn: 181485
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 181482
|
| |
|
|
| |
llvm-svn: 181481
|
| |
|
|
| |
llvm-svn: 181480
|
| |
|
|
| |
llvm-svn: 181479
|
| |
|
|
| |
llvm-svn: 181478
|
| |
|
|
|
|
|
| |
dynamically registered commands.
// rdar://12381408
llvm-svn: 181477
|
| |
|
|
|
|
|
|
| |
re-use build dirs
- the temporaries "-debug.ll" files generated by DebugIR pass are considered tests, even though they are not
llvm-svn: 181476
|
| |
|
|
|
|
| |
the best practice
llvm-svn: 181475
|
| |
|
|
|
|
| |
(IsValid())".
llvm-svn: 181474
|
| |
|
|
| |
llvm-svn: 181473
|
| |
|
|
| |
llvm-svn: 181472
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
http://llvm.org/bugs/show_bug.cgi?id=15867
llvm-svn: 181470
|
| |
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
| |
is of the llvm.sjlj.* flavore) and convert grep->FileCheck
llvm-svn: 181468
|
| |
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
| |
llvm-svn: 181465
|
| |
|
|
| |
llvm-svn: 181464
|
| |
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 181461
|
| |
|
|
| |
llvm-svn: 181460
|
| |
|
|
| |
llvm-svn: 181459
|
| |
|
|
|
|
|
|
| |
documentation commands. Patch was reviewed, along with
great suggestions for improvement, by Doug.
// rdar://12381408
llvm-svn: 181458
|
| |
|
|
| |
llvm-svn: 181457
|
| |
|
|
|
|
| |
in the debian buildbot.
llvm-svn: 181454
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 181452
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
This fixes bug 15821 similarly to the powerpc64-linux fix for bug 14779.
Patch by David Fang.
llvm-svn: 181449
|
| |
|
|
|
|
| |
Also mark one of the tests as expected fail on Linux due to the debian fix.
llvm-svn: 181448
|
| |
|
|
| |
llvm-svn: 181447
|