- Sep 23, 2014
-
-
Todd Fiala authored
This script supports displaying developer-focused backtraces when working with mixed Java and C/C++ stack frames within lldb. On Android, this represents just about every app, since all apps start in Java code. The script currently supports the Art JVM when run on host-side x86_64 and x86, but does require a patch not yet accepted in AOSP: AOSP patch: https://android-review.googlesource.com/#/c/106523/ The backtraces will hide Art VM machinery for interpreted and AOT code and display the Java file/line numbers for Java code, while displaying native backtrace info for native frames. Effectively the developer will get an app-centric view of the call stack. This script is not yet tested on device-side Art nor is it tested on any architecture other than x86_64 or x86 32-bit. Several changes were needed on the AOSP side to enable it to work properly for x86_64 and x86, so it is quite likely we'll need to do something similar for other cpu architectures as well. Change by Tong Shen llvm-svn: 218315
-
Sanjay Patel authored
llvm-svn: 218314
-
Reid Kleckner authored
On further investigation, COMDATs should work with .ctors, and the issue I was hitting probably reproduces with .init_array. This reverts commit r218287. llvm-svn: 218313
-
Evgeniy Stepanov authored
index() is deprecated. llvm-svn: 218312
-
Oliver Stannard authored
Fix a null pointer dereference when trying to swap the endianness of fixups in the .eh_frame section in the AArch64 backend. llvm-svn: 218311
-
Benjamin Kramer authored
llvm-svn: 218310
-
Eric Fiselier authored
Summary: I changed the build so that each ABI header gets its own install rule. This gives us the flexibility to install different headers in different directories. This also fixes the problem where libstdc++ bits/<header>'s were not being installed under a bits directory. Test Plan: I tested this patch on linux against libstdc++ and libcxxabi. Reviewers: danalbert, mclow.lists, jroelofs Reviewed By: jroelofs Subscribers: jhunold, cfe-commits Differential Revision: http://reviews.llvm.org/D5454 llvm-svn: 218309
-
NAKAMURA Takumi authored
Rework r218304, "ExecutionEngineTests: Call llvm_shutdown() on exit for ManagedStatic introduced in r218151." r218304 caused crash on msvc builder. llvm-svn: 218308
-
NAKAMURA Takumi authored
llvm-svn: 218307
-
Timur Iskhodzhanov authored
llvm-svn: 218306
-
Sid Manning authored
Differential Revision: http://reviews.llvm.org/D5450 llvm-svn: 218305
-
NAKAMURA Takumi authored
llvm-svn: 218304
-
Timur Iskhodzhanov authored
Also provide reproducible instructions llvm-svn: 218303
-
Petar Jovanovic authored
The function deleteBody() converts the linkage to external and thus destroys original linkage type value. Lack of correct linkage type causes wrong relocations to be emitted later. Calling dropAllReferences() instead of deleteBody() will fix the issue. Differential Revision: http://reviews.llvm.org/D5415 llvm-svn: 218302
-
Chandler Carruth authored
undef in the shuffle mask. This shows up when we're printing comments during lowering and we still have an IR-level constant hanging around that models undef. A nice consequence of this is *much* prettier test cases where the undef lanes actually show up as undef rather than as a particular set of values. This also allows us to print shuffle comments in cases that use undef such as the recently added variable VPERMILPS lowering. Now those test cases have nice shuffle comments attached with their details. The shuffle lowering for PSHUFB has been augmented to use undef, and the shuffle combining has been augmented to comprehend it. llvm-svn: 218301
-
Chandler Carruth authored
trick that I missed. VPERMILPS has a non-immediate memory operand mode that allows it to do asymetric shuffles in the two 128-bit lanes. Use this rather than two shuffles and a blend. However, it turns out the variable shuffle path to VPERMILPS (and VPERMILPD, although that one offers no functional differenc from the immediate operand other than variability) wasn't even plumbed through codegen. Do such plumbing so that we can reasonably emit a variable-masked VPERMILP instruction. Also plumb basic comment parsing and printing through so that the tests are reasonable. There are still a few tests which don't show the shuffle pattern. These are tests with undef lanes. I'll teach the shuffle decoding and printing to handle undef mask entries in a follow-up. I've looked at the masks and they seem reasonable. llvm-svn: 218300
-
Alexander Musman authored
llvm-svn: 218299
-
Daniel Sanders authored
llvm-svn: 218298
-
Michael Kuperstein authored
This includes constants, attributes, and some additional instructions not covered by previous tests. Work was done by lama.saba@intel.com. llvm-svn: 218297
-
Artyom Skrobov authored
llvm-svn: 218296
-
Argyrios Kyrtzidis authored
[ADT/IntrusiveRefCntPtr] Give friend access to IntrusiveRefCntPtr<X> so the relevant move constructor can access 'Obj'. llvm-svn: 218295
-
Alexander Musman authored
llvm-svn: 218294
-
David Majnemer authored
Don't mangle all casts in expressions as "cv", use the appropriate encoding which corresponds to a specific cast. This fixes PR21034. Differential Revision: http://reviews.llvm.org/D5453 llvm-svn: 218293
-
Nico Weber authored
Also add a test to make sure that this doesn't break again. Fixes PR21036. llvm-svn: 218292
-
Jason Molenda authored
was broken in r214984 by the addition of an unconditional error return at the start of the code block handling this method. Remove the errant lines. <rdar://problem/18416691> llvm-svn: 218291
-
NAKAMURA Takumi authored
'extern "C" static' is not accepted by g++-4.7. Rather to tweak, I just removed 'extern "C"', since it doesn't affect the ABI. llvm-svn: 218290
-
NAKAMURA Takumi authored
I missed to add it since I suppressed checks on win32 in r215590. llvm-svn: 218289
-
Hans Wennborg authored
The type of size_t varies between targets. llvm-svn: 218288
-
Reid Kleckner authored
In particular, pre-.init_array ELF uses the .ctors section mechanism. MinGW COFF also uses .ctors, now that I think about it. Therefore, restrict this optimization to the two platforms that are currently known to work: ELF with .init_array and COFF with .CRT$XCU. llvm-svn: 218287
-
Marshall Clow authored
Fix some type-traits (is_assignable, etc) dealing with classes that take non-const references as 'right hand side'. Add tests. Fixes PR# 20836 llvm-svn: 218286
-
Reid Kleckner authored
We need to walk the class hierarchy twice: once in depth-first base specifier order for mangling and again in depth-first layout order for vftable layout. Vftable layout seems to depend on the full path from the most derived class to the base containing the vfptr. Fixes PR21031. llvm-svn: 218285
-
Sanjay Patel authored
We manage to generate all of the matching instructions (and a lot more) via the reciprocal optimization function - even if we completely remove the square root optimization. With CHECK_NEXT, we assure that we're executing the expected square root optimization paths and not generating extra insts. llvm-svn: 218284
-
Chris Bieneman authored
llvm-svn: 218283
-
Chandler Carruth authored
td pattern). Currently we only model the immediate operand variation of VPERMILPS and VPERMILPD, we should make that clear in the pseudos used. Will be adding support for the variable mask variant in my next commit. llvm-svn: 218282
-
Kaelyn Takata authored
llvm-svn: 218281
-
Kaelyn Takata authored
when assertions are disabled. llvm-svn: 218280
-
Greg Clayton authored
If you "command script import" this file, then you will have two new commands: (lldb) tk-variables (lldb) tk-process Not sure how this will work on all other systems, but on MacOSX, you will get a window with a tree view that allows you to inspect your local variables by expanding variables to see the child values. The "tk-process" allows you to inspect the currently selected process by expanding the process to see the threads, the threads to see the frames, and the frames to see the variables. Very handy if you want to view variables for all frames simultaneously. llvm-svn: 218279
-
- Sep 22, 2014
-
-
Sanjay Patel authored
llvm-svn: 218278
-
Chandler Carruth authored
support. No interesting functionality yet, but this will let me implement one vector type at a time. llvm-svn: 218277
-
Yaron Keren authored
Comparing ModuleName to the file names listed will always fail. I wonder how this code ever worked and what its purpose was. Why exclude the msvc runtime DLLs but not exclude all Windows system DLLs? Anyhow, it does not function as intended. clang-formatted as well. llvm-svn: 218276
-