- May 05, 2016
-
-
Tamas Berghammer authored
The function only avaibleble when python is enabled. Guard the new call in the Java plugin with LLDB_DISABLE_PYTHON until we can change AddCXXSynthetic to be available in all case to get the build bots green again. llvm-svn: 268626
-
Nico Weber authored
r262056 accidentally fixed this. Add a test to ensure it doesn't regress. llvm-svn: 268625
-
Marcin Koscielnicki authored
Both Linux and kFreeBSD use glibc, so follow similiar code paths. Add isTargetGlibc to check for this, and use it instead of isTargetLinux in a few places. Fixes PR22248 for kFreeBSD. Differential Revision: http://reviews.llvm.org/D19104 llvm-svn: 268624
-
Pavel Labath authored
now that the timeout actually means something, we see that sometimes adb is just really slow in replying to the DONE packet during file push. Give it more time to complete. llvm-svn: 268623
-
Tamas Berghammer authored
Differential revision: http://reviews.llvm.org/D19540 llvm-svn: 268622
-
NAKAMURA Takumi authored
llvm-svn: 268621
-
Igor Kudrin authored
Differential Revision: http://reviews.llvm.org/D18831 llvm-svn: 268620
-
Pavel Labath authored
the test should no longer crash, but we need to investigate why ToT clang still generates debug info we don't understand. llvm-svn: 268619
-
Alexey Bataev authored
OpenMP 4.5 adds taskloop/taskloop simd directives. These directives allow to use lastprivate clause. Patch adds codegen for this clause. llvm-svn: 268618
-
Pavel Labath authored
Summary: AdbClient would spin in a loop in ReadAllBytes in case the remote end was closed before reading the requested number of bytes. Make sure we return an error in this case instead. Reviewers: ovyalov Subscribers: tberghammer, danalbert, lldb-commits Differential Revision: http://reviews.llvm.org/D19916 llvm-svn: 268617
-
Pavel Labath authored
llvm-svn: 268616
-
Pavel Labath authored
Summary: We were trying to get a DWARFDIE from a CompileUnit belonging to a DWO file. However, this function does not understand the die encoding used by the DWO files. Instead use GetDIE on the SymbolFileDWARF, which is overriden in DWO to do the right thing. Reviewers: clayborg, tberghammer Subscribers: lldb-commits, ovyalov Differential Revision: http://reviews.llvm.org/D19927 llvm-svn: 268615
-
Eric Fiselier authored
llvm-svn: 268614
-
Eric Fiselier authored
llvm-svn: 268613
-
Xinliang David Li authored
llvm-svn: 268612
-
Craig Topper authored
[TableGen] Make sure to recursively factor any ScopeMatchers created while forming a SwitchType node. Remove a couple hundred bytes from the X86 matcher table. llvm-svn: 268611
-
Craig Topper authored
llvm-svn: 268610
-
David Majnemer authored
The result type of setcc is dependent on whether or not AVX512 is present. We had an X86-specific DAG-combine which assumed that the result type should be i8 when it could be i1. This meant that we would generate illegal setccs which LowerSETCC did not like. Instead, use an appropriate type and zero extend to i8. Also, there were some scenarios where the fold should have fired but didn't because we were overly cautious about the types. This meant that we generated: shrl $31, %edi andl $1, %edi kmovw %edi, %k0 kxnorw %k0, %k0, %k1 kshiftrw $15, %k1, %k1 kxorw %k1, %k0, %k0 kmovw %k0, %eax instead of: testl %edi, %edi setns %al This fixes PR27638. llvm-svn: 268609
-
Xinliang David Li authored
llvm-svn: 268608
-
Mehdi Amini authored
If the linker requested to preserve a linkonce function, we should honor this even if we drop all uses. We explicitely avoid turning them into weak_odr (unlike the first version of this patch in r267644), because the codegen can be different on Darwin: because of `llvm::canBeOmittedFromSymbolTable()` we may emit the symbol as weak_def_can_be_hidden instead of weak_definition. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 268607
-
Mehdi Amini authored
This reverts commit r267644. Turning linkonce_odr into weak_odr is a sementic change on Darwin: because of `llvm::canBeOmittedFromSymbolTable()` we may emit the symbol as weak_def_can_be_hidden instead of weak_definition. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 268606
-
Mehdi Amini authored
This was a remaining of a previous scheme where some IPOs were taking place before we enter this code. This is not relevant anymore. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 268605
-
Peter Collingbourne authored
We were previously using an output offset of -1 for both GC'd and tail merged pieces. We need to distinguish these two cases in order to filter GC'd symbols from the symbol table -- we were previously asserting when we asked for the VA of a symbol pointing into a dead piece, which would end up asking the tail merging string table for an offset even though we hadn't initialized it properly. This patch fixes the bug by using an offset of -1 to exclusively mean GC'd pieces, using 0 for tail merges, and distinguishing the tail merge case from an offset of 0 by asking the output section whether it is tail merge. Differential Revision: http://reviews.llvm.org/D19953 llvm-svn: 268604
-
Xinliang David Li authored
llvm-svn: 268603
-
Xinliang David Li authored
Remove dead ValueDataBegin field in raw header. llvm-svn: 268602
-
Xinliang David Li authored
Differential Revision: http://reviews.llvm.org/D19839 llvm-svn: 268601
-
Richard Smith authored
Documentation updates for recent changes to VLAs and default-initialization of const-qualified class objects. llvm-svn: 268600
-
Davide Italiano authored
llvm-svn: 268599
-
Rui Ueyama authored
I accidentally added another test file as I didn't notice that the test file existed. llvm-svn: 268598
-
Teresa Johnson authored
Missed in r267097. llvm-svn: 268597
-
Rui Ueyama authored
It is insanely hard to write a test that works both on Windows and Unix. I tried to workaround it with cpio's minor options, but the behaviors of the options were myterious. It just doesn't worth to spend time on it. And probably minor options could break buildbots that doesn't have the GNU version of cpio command. In this patch, I simply added a separate test file that runs only on Windows. llvm-svn: 268596
-
Richard Smith authored
llvm-svn: 268595
-
Richard Smith authored
* an unscoped enumerator whose enumeration is a class member is itself a class member, so can only be the subject of a class-scope using-declaration. * a scoped enumerator cannot be the subject of a class-scope using-declaration. llvm-svn: 268594
-
Enrico Granata authored
This is not meant to report that a value doesn't have a dynamic type - it is only meant as a mechanism to propagate actual type discovery issues (e.g. malformed type metadata for languages that have such a notion) This information is used by ValueObjectDynamic to set its own m_error, which is a fairly sharp and heavyweight tool to begin with For the time being, this is an architectural improvement but a practical no-op as no existing runtimes are actually setting errors llvm-svn: 268591
-
Justin Bogner authored
The code here is recursively Select-ing a new Node to avoid issues where N is CSE'd during replaceDAGValue and stops being valid. We can accomplish the same goal in a more principled way by using a HandleSDNode. This is essentially a less dodgy fix for PR25733 than the original attempt back in r255120. llvm-svn: 268590
-
Akira Hatanaka authored
r217178 changed clang to add function attribute uwtable by default on Win64, which caused the __eh_frame section to be emitted by default. This commit restores the previous behavior for MachO targets. rdar://problem/25282627 llvm-svn: 268589
-
Ryan Govostes authored
This reverts commit ba89768f97b1d4326acb5e33c14eb23a05c7bea7. llvm-svn: 268588
-
Enrico Granata authored
Make the functions that fetch data from the ObjC runtime choose whether or not to log depending on whether the types log is enabled This can prove helpful in debugging issues with that retrieval even if LLDB wasn't compiled with the magic macros defined llvm-svn: 268587
-
Ryan Govostes authored
Allowing overriding the default ASAN shadow mapping offset with the -asan-shadow-offset option, and allow zero to be specified for both offset and scale. llvm-svn: 268586
-
Richard Smith authored
declared before it is used. Because we don't use normal name lookup to find these, the normal code to filter out non-visible names from name lookup results does not apply. llvm-svn: 268585
-