- Jan 18, 2014
-
-
David Blaikie authored
Using backend-option like a few other debug codegen flags. I believe Eric Christopher's working at porting those over to something nicer such as an API level CodeGenOptions or the like, so this can be improved along with that work. llvm-svn: 199535
-
Sean Callanan authored
updates itself before it tries to set its own data. Otherwise it has no idea where to put the data value. <rdar://problem/15846476> llvm-svn: 199533
-
Reid Kleckner authored
Currently it tracks the number of free registers, but soon it will track stack offsets for inalloca lowering. No functional change. llvm-svn: 199532
-
Alp Toker authored
This limits the facility added in r199490 while we seek clarification on the standard. llvm-svn: 199531
-
Rui Ueyama authored
llvm-svn: 199530
-
Joerg Sonnenberger authored
llvm-svn: 199529
-
Owen Anderson authored
Fix more instances of dropped fast math flags when optimizing FADD instructions. All found by inspection (aka grep). llvm-svn: 199528
-
Rui Ueyama authored
llvm-svn: 199527
-
Rui Ueyama authored
llvm-svn: 199526
-
Reid Kleckner authored
Summary: The only current use of this flag is to mark the alloca as dynamic, even if its in the entry block. The stack adjustment for the alloca can never be folded into the prologue because the call may clear it and it has to be allocated at the top of the stack. Reviewers: majnemer CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2571 llvm-svn: 199525
-
- Jan 17, 2014
-
-
Justin Bogner authored
Patch by Daniel Reynaud! llvm-svn: 199523
-
Richard Smith authored
This caused us to skip a step that was essential for correct access control. llvm-svn: 199522
-
Juergen Ributzka authored
llvm-svn: 199521
-
Todd Fiala authored
The Linux distribution will be added to the ArchSpec class in an upcoming change. This change only undoes the change to the triple. The distribution retrieval logic and enabling of lldb-gdbserver for linux x86_64 builds is still in place. llvm-svn: 199520
-
Rui Ueyama authored
llvm-svn: 199519
-
Rui Ueyama authored
llvm-svn: 199518
-
Simon Atanasyan authored
executable file. llvm-svn: 199517
-
Simon Atanasyan authored
llvm-svn: 199516
-
Simon Atanasyan authored
sections will be implemented later. llvm-svn: 199515
-
Simon Atanasyan authored
llvm-svn: 199514
-
Ismail Pazarbasi authored
String literal to char* conversion is deprecated in C++03, and is removed in C++11. We still accept this conversion in C++11 mode as an extension, if we find it in the best viable function. llvm-svn: 199513
-
Richard Smith authored
might be member function declarations. Patch by Harald van Dijk! llvm-svn: 199512
-
Jason Molenda authored
xcode project file sets the MACOSX_DEPLOYMENT_TARGET to 10.7. llvm/configure (as of r199313) tries to compile a .cpp file which includes <atomic> with -std=c++0x. If the deployment target is set to earlier than 10.9 and no C++ library is specified, clang will error out at this point. Fixes xcode building of lldb on Mac OS X. If this change causes problems for any of the other build workflows, please let me know and I'll fix it. llvm-svn: 199511
-
Todd Fiala authored
This change does the following: * enables building lldb-gdbserver on linux_x86-64 platforms. Note - it builds but it has several run-time issues where many gdb remote protocol features are not properly implemented yet. I'm working on these one at a time. * lldb-gdbserver: does not enable the eLaunchFlagDebug launch flag on Linux. Currently the POSIX launch routine will assert if that flag is passed in, presumably because that launch mode is not yet available. This prevents lldb-gdbserver from asserting the moment it launches the debuggee process. * Adds ConstString& Host::GetDistributionId () This method is defined to return an empty result on all platforms except for Linux. On Linux, it makes one attempt to execute 'lsb_release -i' (both /usr/bin/lsb_release, where it appears on ubuntu, and /bin/lsb_release, where it appears on fedora if the redhat-lsb package is installed). If lsb_release is not found in either of those locations, or if 'lsb_release -i' does not return the first line starting with "Distributor ID:\t", then the distribution id is empty. The method will lower-case the id and replace whitespace with underscores. * Modify Host::GetArchitecture () so that linux replaces an unknown vendor portion with the results of GetDistributionId () if that is non-empty. This shows up now in qHostInfo remote packet responses and on the lldb host side. Tested with ubuntu and fedora (the latter both with the default of not having lsb_release installed, and with having lsb_release installed via the redhat-lsb package). Examples of triples on Linux after this change: # x86_64 Unbuntu 12.04 LTS: x86_64-ubuntu-linux-gnu # x86_64 Fedora 20 Desktop with redhat-lsb package installed x86_64-fedora-linux-gnu # x86_64 Fedora 20 Desktop without redhat-lsb-core installed # (i.e. no /bin/lsb_release available) # same as before the change x86_64--linux-gnu Note I intend to have Android respond with: {arch}-android-linux when I get to implementing Android lldb-gdbserver support. llvm-svn: 199510
-
Jim Ingham authored
The default timeout for EvaluateExpressionOptions is not 0, so if no timeout is provided, we have to set the option timeout to 0 by hand. <rdar://problem/15846781> llvm-svn: 199509
-
Juergen Ributzka authored
This patch adds two new target-independent calling conventions for runtime calls - PreserveMost and PreserveAll. The target-specific implementation for X86-64 is defined as following: - Arguments are passed as for the default C calling convention - The same applies for the return value(s) - PreserveMost preserves all GPRs - except R11 - PreserveAll preserves all GPRs and all XMMs/YMMs - except R11 Reviewed by Lang and Philip llvm-svn: 199508
-
Steve Pucci authored
llvm-svn: 199506
-
Steve Pucci authored
To avoid this warning, friend declarations inside template classes must be declared as templates: http://stackoverflow.com/questions/4039817/friend-declaration-declares-a-non-template-function llvm-svn: 199505
-
Steve Pucci authored
This rename was suggested by gclayton as a way to silence gcc warnings; the warning is emitted when there is an overloaded function in a base class (Platform) for which a derived class redefines one of the overloads but not the other (because doing so hides the other overload from users of the derived class). By giving the two methods different names, the situation is avoided. llvm-svn: 199504
-
Ed Maste authored
llvm-svn: 199503
-
Daniel Jasper authored
The author might be missing the "#" or these might be protocol buffer definitions. Either way, we should not break the line or the string. There don't seem to be other valid use cases. llvm-svn: 199501
-
Alp Toker authored
Change suggested by Joerg Sonnenberger! llvm-svn: 199500
-
Ted Kremenek authored
llvm-svn: 199499
-
Daniel Sanders authored
Summary: $rs and $rt were the wrong way round in the .td and the testcase wasn't strict enough to detect the mistake. Reviewers: matheusalmeida Reviewed By: matheusalmeida Differential Revision: http://llvm-reviews.chandlerc.com/D2554 llvm-svn: 199498
-
Daniel Sanders authored
No functional change since the InstrItinData's were duplicated llvm-svn: 199497
-
Aaron Ballman authored
Adding a test case for nonnull being attached to something other than a function, Objective-C method, or parameter. llvm-svn: 199496
-
Daniel Sanders authored
IIImul -> II_MUL IIImult -> II_MULT, II_MULTU, II_MADD, II_MADDU, II_MSUB, II_MSUBU, II_DMULT, II_DMULTU No functional change since the InstrItinData's have been duplicated. llvm-svn: 199495
-
Alp Toker authored
The __sync_add_and_fetch() builtin parameter is volatile but clang has 'different' type checking and ends up accepting this code. Undo the C++ cast from r198505 to get libc++/LLVM building with g++ while this is investigated. llvm-svn: 199494
-
Daniel Sanders authored
No functional change since the InstrItinData's have been duplicated. llvm-svn: 199493
-
Joerg Sonnenberger authored
llvm-svn: 199492
-