- Aug 26, 2014
-
-
Sanjay Patel authored
llvm-svn: 216424
-
Reid Kleckner authored
Summary: There is no functionality change here except in the way we assemble and dump musttail calls in variadic functions. There's really no need to separate out the bits for musttail and "is forwarding varargs" on call instructions. A musttail call by definition has to forward the ellipsis or it would fail verification. Reviewers: chandlerc, nlewycky Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D4892 llvm-svn: 216423
-
Reid Kleckner authored
llvm-svn: 216422
-
Reid Kleckner authored
Adding, removing, or changing non-pack parameters can change the ABI classification of pack parameters. Clang and other frontends encode the classification in the IR of the call site, but the callee side determines it dynamically based on the number of registers consumed so far. Changing the prototype affects the number of registers consumed would break such code. Dead argument elimination performs a similar task and already has a similar check to avoid this problem. Patch by Thomas Jablin! llvm-svn: 216421
-
Jason Molenda authored
llvm-svn: 216420
-
Jason Molenda authored
I wrote this originally as a part of an unwind library that was using a different coding convention and some of that old style remained after its integration into lldb. llvm-svn: 216419
-
Lang Hames authored
The expressions 'Reloc.Addend - Addend' and 'Reloc.Offset' should always be equal in this context. The latter is prefered - we want to remove the RelocationValueRef::Addend field in the future. llvm-svn: 216418
-
Richard Smith authored
llvm-svn: 216417
-
Todd Fiala authored
Copy unwind plan instead of modifying it directly, so "image show-unwind" prints different plans for asynchronous and synchronous. Change by Tong Shen. llvm-svn: 216416
-
Rafael Espindola authored
This patch fixes a subtle bug in the UNIX implementation of llvm::sys::argumentsFitWithinSystemLimits() regarding the misuse of a static variable. This bug causes our cached number that stores the system command line maximum length to be halved after each call to the function. With a sufficient number of calls to this function, it will eventually report any given command line string to be over system limits. Patch by Rafael Auler. llvm-svn: 216415
-
Rui Ueyama authored
This is yet another command line flag to set a bit in DLLCharacteristics. Default on Win64 is "on". llvm-svn: 216414
-
Lang Hames authored
Also switch section memory dump format from 8 to 16 columns. llvm-svn: 216413
-
Jason Molenda authored
name/from-compiler settings to indicate that it was augmented by assembly profiling. llvm-svn: 216412
-
Rafael Espindola authored
This patch refactors the argument serialization logic used in the Execute function, used to launch new Windows processes. There is a critical step that joins char** arguments into a single string, building the command line used to launch the new process, and the readability of this code is improved if this part is refactored in its own helper function. Patch by Rafael Auler! llvm-svn: 216411
-
Alexey Samsonov authored
into EmitSynthesizedCXXCopyCtorCall. No functionality change. llvm-svn: 216410
-
Todd Fiala authored
In practice, 64bit eh_frame is not used even for x86_64 binaries. The main reason is in eh_frame we almost always use pc-relative addressing, so addresses are within 32bits and gcc just sticks to 32bit eh_frame. I generated 64bit eh_frame for Android Java runtime and unwind successfully in gdb, and in lldb with this patch. Patch by Tong Shen. llvm-svn: 216409
-
Fariborz Jahanian authored
implementation but not anywhere else. rdar://16628028 llvm-svn: 216408
-
Kostya Serebryany authored
llvm-svn: 216407
-
Todd Fiala authored
We decided to use assmbly profiler instead of eh_frame for frame 0 because for compiler generated code, eh_frame is usually synchronous(a.k.a. only valid at call site); and we have no way to tell if it's asynchronous or not. But for x86 & x86_64 compiler generated code: 1. clang & GCC describes all prologue instructions in eh_frame; 2. mid-function stack pointer altering instructions can be easily detected. So we can grab eh_frame, and use assembly profiler to augment it into asynchronous unwind table. This change also benefits hand-written assembly; eh_frame for hand-written assembly is often asynchronous,so we have a much better chance to successfully unwind through them. Change by Tong Shen. llvm-svn: 216406
-
Fariborz Jahanian authored
with auto-boxing syntax for literals. rdar://18080352 llvm-svn: 216405
-
Alexey Samsonov authored
into EmitCXXMemberOrOperatorCall methods. In the end we want to make declaration visible in EmitCallArgs() method, that would allow us to alter CodeGen depending on function/parameter attributes. No functionality change. llvm-svn: 216404
-
Juergen Ributzka authored
llvm-svn: 216403
-
Rui Ueyama authored
llvm-svn: 216402
-
Lang Hames authored
llvm-svn: 216400
-
Greg Clayton authored
Added a test case to ensure lldb::SBHostOS::GetLLDBPath() doesn't return lldb::SBFileSpec objects with the filename filled in for directory paths. llvm-svn: 216399
-
Greg Clayton authored
Change back all paths returns for lldb::PathType enumerations from HostInfo::GetLLDBPath() to return the directories in the FileSpec.m_directory field to match previous implementations. This change previously broke some path stuff in upstream branches. llvm-svn: 216398
-
Rafael Espindola authored
llvm-svn: 216397
-
Rafael Espindola authored
llvm-svn: 216396
-
Rafael Espindola authored
llvm-svn: 216395
-
Rafael Espindola authored
llvm-svn: 216394
-
Rafael Espindola authored
Take a StringRef instead of a "const char *". Take a "std::error_code &" instead of a "std::string &" for error. A create static method would be even better, but this patch is already a bit too big. llvm-svn: 216393
-
Deepak Panickal authored
llvm-svn: 216392
-
Chandler Carruth authored
This actually was caught by existing tests but those tests were disabled with an XFAIL because of PR20736. While working on fixing that, I noticed the test failure, and tracked it down to this. We even have a really nice Clang warning that would have caught this but it isn't enabled in LLVM! =[ I may look at enabling it. llvm-svn: 216391
-
Bruno Cardoso Lopes authored
GlobalDCE deletes global vars and updates their initializers to nullptr while leaving underlying constants to be cleaned up later by its uses. The clean up may never happen, fix this by forcing it every time it's safe to destroy constants. Final patch by Rafael Espindola http://reviews.llvm.org/D4931 <rdar://problem/17523868> llvm-svn: 216390
-
Bruno Cardoso Lopes authored
llvm-svn: 216389
-
Chad Rosier authored
Patterns for lowering libm calls to VCVT{A,N,P,M} are also included. Phabricator Revision: http://reviews.llvm.org/D5033 llvm-svn: 216388 -
Timur Iskhodzhanov authored
llvm-svn: 216387
-
Timur Iskhodzhanov authored
llvm-svn: 216386
-
Will Dietz authored
Error caught using -fsanitize=pointer-overflow. Expand ASTVectorTest to verify basic behavior, test fails without functionality in this patch. llvm-svn: 216385
-
- Aug 25, 2014
-
-
Marshall Clow authored
Replace 'noexcept' with '_NOEXCEPT' in <shared_mutex>. This allows us to build the dylib with MSVC, which doesn't support noexcept (sheesh\!). Thanks to K-ballo for the report. llvm-svn: 216384
-