- May 05, 2016
-
-
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
-
Dehao Chen authored
llvm-svn: 268583
-
Davide Italiano authored
llvm-svn: 268582
-
Marcin Koscielnicki authored
This introduces a SystemZ-specific "backchain" attribute on function, which enables writing the frame backchain link as specified by the ABI. This will be used to implement -mbackchain option in clang. Differential Revision: http://reviews.llvm.org/D19889 Fixed in this version: added RegState::Define and RegState::Kill on R1D in prologue. llvm-svn: 268581
-
Reid Kleckner authored
So that we can call it from llvm-pdbdump. llvm-svn: 268580
-
Alexander Kornienko authored
llvm-svn: 268579
-
Adam Nemet authored
With -Rpass=loop-data-prefetch, show the memory access that got prefetched. llvm-svn: 268578
-
Vitaly Buka authored
MemorySanitizer: use-of-uninitialized-value 0x4910e47 in count /mnt/b/sanitizer-buildbot2/sanitizer-x86_64-linux-bootstrap/build/llvm/include/llvm/Support/MathExtras.h:159:12 0x4910e47 in countLeadingZeros<unsigned long> /mnt/b/sanitizer-buildbot2/sanitizer-x86_64-linux-bootstrap/build/llvm/include/llvm/Support/MathExtras.h:183 0x4910e47 in FitWeights /mnt/b/sanitizer-buildbot2/sanitizer-x86_64-linux-bootstrap/build/llvm/lib/Transforms/Utils/SimplifyCFG.cpp:855 0x4910e47 in SimplifyCondBranchToCondBranch /mnt/b/sanitizer-buildbot2/sanitizer-x86_64-linux-bootstrap/build/llvm/lib/Transforms/Utils/SimplifyCFG.cpp:2895 This reverts commit 609f4dd4bf3bc735c8c047a4d4b0a8e9e4d202e2. llvm-svn: 268577
-
Marcin Koscielnicki authored
This reverts commit rL268571. It caused failures in register scavenger. llvm-svn: 268576
-
Marcin Koscielnicki authored
This option, like the corresponding gcc option, is SystemZ-specific and enables storing frame backchain links, as specified in the ABI. Differential Revision: http://reviews.llvm.org/D19891 llvm-svn: 268575
-
Adrian McCarthy authored
Differential Revision: http://reviews.llvm.org/D19943 llvm-svn: 268574
-
Adrian McCarthy authored
1. Fixed semicolon placement in the lambda in the test itself. 2. Fixed lldbinline tests in general so that we don't attempt tests on platforms that don't use the given type of debug info. (For example, no DWO tests on Windows.) This fixes one of the two failures on Windows. (TestLambdas.py was the only inline test that wasn't XFailed or skipped on Windows.) 3. Set the error string in IRInterpreter::CanInterpret so that the caller doesn't print (null) instead of an explanation. I don't entirely understand the error, so feel free to suggest a better wording. 4. XFailed the test on Windows. The interpreter won't evaluate the lambda because the module has multiple function bodies. I don't exactly understand why that's a problem for the interpreter nor why the problem arises only on Windows. Differential Revision: http://reviews.llvm.org/D19606 llvm-svn: 268573
-
Marcin Koscielnicki authored
To be used for AddressSanitizer. Differential Revision: http://reviews.llvm.org/D19817 llvm-svn: 268572
-
Marcin Koscielnicki authored
This introduces a SystemZ-specific "backchain" attribute on function, which enables writing the frame backchain link as specified by the ABI. This will be used to implement -mbackchain option in clang. Differential Revision: http://reviews.llvm.org/D19889 llvm-svn: 268571
-
Davide Italiano authored
This reverts commit r268568, as it broke the bots. llvm-svn: 268570
-
Rui Ueyama authored
Fixes bug 27648. llvm-svn: 268569
-
Davide Italiano authored
llvm-svn: 268568
-
Quentin Colombet authored
The new register classes allow to tell the machine verifier that it is fine to use RIP for address accesses in x32 mode. Prior to that patch, we would complain that we are using a GR64 in place of GR32, whereas it is actually fine to use GR64 for x32 as long as the 32 high bits are 0s. RIP has this property and is used for RIP-relative addressing. This partially fixes http://llvm.org/PR27481. llvm-svn: 268567
-
Greg Clayton authored
llvm-svn: 268566
-
Simon Atanasyan authored
MIPS N64 ABI packs multiple relocations into the single relocation record. Particularly it requires to represent dynamic relative relocation as a combination of R_MIPS_REL32 and R_MIPS_64 relocations. llvm-svn: 268565
-
Sanjay Patel authored
llvm-svn: 268564
-
Greg Clayton authored
We don't want a mutex in debugger as it will cause A/B locking issues with the lldb_private::Target's mutex, but we do need to stop two threads from doing Debugger::Clear at the same time. We have seen issues with this with the C++ global destructor chain where the global debugger list is being destroyed and the Debugger::~Debugger() is calling it while another thread was in the middle of running that function. <rdar://problem/26098913> llvm-svn: 268563
-
Greg Clayton authored
llvm-svn: 268562
-