- Oct 20, 2015
-
-
Greg Clayton authored
This allows open source MacOSX clients to not have to build debugserver and the current LLDB can find debugserver inside the selected Xcode.app on your system. <rdar://problem/23167253> llvm-svn: 250735
-
Enrico Granata authored
llvm-svn: 250734
-
Lang Hames authored
llvm-svn: 250733
-
Rui Ueyama authored
llvm-svn: 250732
-
Rafael Espindola authored
Given the name, it is natural for this function to compute the full target. This will simplify SHF_MERGE handling by allowing getLocalRelTarget to centralize the addend logic. llvm-svn: 250731
-
Rafael Espindola authored
llvm-svn: 250730
-
Jonathan Peyton authored
Just moved the *scan++ line up before the recursive call. Otherwise, infinite recursion occurs and leads to a segmentation fault. llvm-svn: 250729
-
Rui Ueyama authored
/OPT:foo,bar is equivalent to /OPT:foo /OPT:bar. Reported by alexchandel. https://llvm.org/bugs/show_bug.cgi?id=25228 llvm-svn: 250728
-
Jonathan Peyton authored
Without this fix, cancellation requests in one parallel region cause cancellation of the second region even though the second one was not intended to be cancelled. llvm-svn: 250727
-
Owen Anderson authored
It looks like an extra negation snuck in as apart of restoring it. llvm-svn: 250726
-
Rafael Espindola authored
llvm-svn: 250725
-
Krzysztof Parzyszek authored
llvm-svn: 250724
-
Teresa Johnson authored
Implemented suggestion by dblakie in review for r250704. llvm-svn: 250723
-
Lang Hames authored
llvm-svn: 250722
-
Eugene Zelenko authored
Differential Revision: http://reviews.llvm.org/D13840 llvm-svn: 250721
-
Benjamin Kramer authored
llvm-svn: 250720
-
Jun Bum Lim authored
Convert two halfword loads into a single 32-bit word load with bitfield extract instructions. For example : ldrh w0, [x2] ldrh w1, [x2, #2] becomes ldr w0, [x2] ubfx w1, w0, #16, #16 and w0, w0, #ffff llvm-svn: 250719
-
Krzysztof Parzyszek authored
- Isolate the check for the existence of a stack frame into hasFP. - Implement getFrameIndexReference for DWARF address computation. - Use getFrameIndexReference for offset computation in eliminateFrameIndex. - Preserve debug information for dynamically allocated stack objects. - Prefer FP to access local objects at -O0. - Add experimental code to skip allocframe when not strictly necessary (disabled by default). llvm-svn: 250718
-
Benjamin Kramer authored
While technically this is untested dead code, it has out-of-tree users. This reverts a part of r250434. llvm-svn: 250717
-
Lang Hames authored
llvm-svn: 250716
-
Lang Hames authored
llvm-svn: 250715
-
Krzysztof Parzyszek authored
Emit the CFI instructions after all code transformation have been done. This will avoid any interference between CFI instructions and packetization. llvm-svn: 250714
-
Matthias Braun authored
This reverts commit r250596. Reverted for now as the commit triggers assert in the AMDGPU target pending investigation. llvm-svn: 250713
-
Lang Hames authored
memory, rather than representing the stubs in IR. Update the CompileOnDemand layer to use this functionality. Directly emitting stubs is much cheaper than building them in IR and codegen'ing them (see below). It also plays well with remote JITing - stubs can be emitted directly in the target process, rather than having to send them over the wire. The downsides are: (1) Care must be taken when resolving symbols, as stub symbols are held in a separate symbol table. This is only a problem for layer writers and other people using this API directly. The CompileOnDemand layer hides this detail. (2) Aliases of function stubs can't be symbolic any more (since there's no symbol definition in IR), but must be converted into a constant pointer expression. This means that modules containing aliases of stubs cannot be cached. In practice this is unlikely to be a problem: There's no benefit to caching such a module anyway. On balance I think the extra performance is more than worth the trade-offs: In a simple stress test with 10000 dummy functions requiring stubs and a single executed "hello world" main function, directly emitting stubs reduced user time for JITing / executing by over 90% (1.5s for IR stubs vs 0.1s for direct emission). llvm-svn: 250712 -
George Rimar authored
The reason of collecting all undefines in vector is that during reading files we already need to have Symtab created. Or like was done in that patch - to put undefines from scripts somewhere to delay Symtab.addUndefinedOpt() call. Differential Revision: http://reviews.llvm.org/D13870 llvm-svn: 250711
-
Zachary Turner authored
Even though these are under examples/, they actually get loaded when LLDB starts up during initialization of ScriptInterpreterPython. There's obviously some kind of layering issue here (and comments in the code even point to that as well), but for now just make them py3 compatible. llvm-svn: 250710
-
Zachary Turner authored
Newer versions of CMake include a "smarter" FindLibxml2 package. In theory this is a good thing, but on Windows it's now smart enough to find the version that comes with Gnuwin32, which doesn't appear to be a valid libxml2 distribution. Or at the very least, LLDB currently uses some header files from libxml2 that are not part of this distribution. Nobody on Windows is using any of this functionality right now anyway, so just disable it. llvm-svn: 250709
-
Dimitry Andric authored
warnings similar to the following: runtime/src/kmp_global.c:117:35: warning: implicit conversion from 'unsigned long' to 'int' changes value from 18446744073709551615 to -1 [-Wconstant-conversion] int __kmp_sys_max_nth = KMP_MAX_NTH; ~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~ runtime/src/kmp.h:849:34: note: expanded from macro 'KMP_MAX_NTH' # define KMP_MAX_NTH PTHREAD_THREADS_MAX ^~~~~~~~~~~~~~~~~~~ Clamp KMP_MAX_NTH to INT_MAX to avoid these warnings. Also use INT_MAX whenever PTHREAD_THREADS_MAX is not defined at all. Differential Revision: http://reviews.llvm.org/D13827 llvm-svn: 250708 -
Nico Weber authored
This makes the format tests look more like most other FileCheck tests in clang. The multiple-inputs tests still use temp files, to make sure that the file input code in clang-format stays tested. Stop stripping out the comment lines in style-on-command-line.cpp as they don't get in the way and it makes the test simpler. Also remove 2>&1s on the tests in that file that don't need it. http://reviews.llvm.org/D13852 llvm-svn: 250706
-
- Oct 19, 2015
-
-
Diego Novillo authored
llvm-svn: 250705
-
Teresa Johnson authored
llvm-svn: 250704
-
Teresa Johnson authored
This should fix the mingw3 bot failure. llvm-svn: 250703
-
Rafael Espindola authored
We have to scan the relaxations after every symbol is defined. This fixes pr25218. llvm-svn: 250702
-
Teresa Johnson authored
in test output. llvm-svn: 250701
-
Omair Javaid authored
This patch corrects the number of bytes of debug register resources which are written while installing or removing a breakpoint using ptrace interface on arm64 targets. Differential revision: http://reviews.llvm.org/D12522 llvm-svn: 250700
-
Teresa Johnson authored
Summary: This patch adds support to llvm-lto that mirrors the support added by r249270 to the gold plugin. This enables better testing of combined index generation for ThinLTO. Added a new test, and this support will be used in the test in D13515. Reviewers: joker.eph Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D13847 llvm-svn: 250699
-
Benjamin Kramer authored
llvm-svn: 250698
-
Asiri Rathnayake authored
The mapping of these two intrinsics in ARMInstrInfo.td had a small omission which lead to their operands not being validated/transformed before being lowered into usat and ssat instructions. This can cause incorrect instructions to be emitted. I've also added tests for the remaining two saturating arithmatic intrinsics @llvm.arm.qadd and @llvm.arm.qsub as they are missing codegen tests. llvm-svn: 250697
-
Sagar Thakur authored
For o32 applications on mips we were getting segmentation fault while launching lldb-server because of overwritting stack when using elf_gregset_t in DoWriteRegisterValue. We are now using the GPR_mips_linux buffer in DoWriteRegisterValue as done in DoReadRegisterValue also, which solves the above issue. llvm-svn: 250696
-
Michael Kruse authored
Thanks Tobias for the hint. llvm-svn: 250695
-