- Mar 08, 2016
-
-
Hans Wennborg authored
Apparently this makes my email address easier to find. llvm-svn: 262951
-
Sean Callanan authored
self.expect() had two problems: - If there was a substrs argument, then it overwrote the variable containing the command to run with the last substr. That meant nonsense command text in testsuite errors. - The actual output is not printed, which makes fixing testsuite failures a bit annoying (you end up having to use the -tv arguments to dotest). This fixes both of these issues. We could do even better, pretty-printing the criteria for "correct" output, but this at least makes dealing with errors a bit better. llvm-svn: 262950
-
Saleem Abdulrasool authored
Add a missing include. This is important in the case HandleLLVMOptions is included prior to the missing CheckCXXSourceCompiles or CheckCXXCompilerFlag which includes CheckCXXSourceCompiles. llvm-svn: 262949
-
Chris Bieneman authored
This adds llvm_add_implicit_projects which takes a project name and is wrapped by add_llvm_implicit_projects. llvm-svn: 262948
-
Adrian Prantl authored
The System-V x86_64 ABI requires floating point values to be passed in 128-but SSE vector registers (xmm0, ...). When printing such a variable this currently yields an <invalid load address>. This patch makes LLDB's DWARF expression evaluator accept 128-bit registers as scalars. It also relaxes the check that the size of the result of the DWARF expression be equal to the size of the variable to a greater-than. DWARF defers to the ABI how smaller values are being placed in a larger register. Implementation note: I found the code in Value::SetContext() that changes the m_value_type after the fact to be questionable. I added a sanity check that the Value's memory buffer has indeed been written to (this is necessary, because we may have a scalar value in a vector register), but really I feel like this is the wrong place to be setting it. Reviewed by Greg Clayton. http://reviews.llvm.org/D17897 rdar://problem/24944340 llvm-svn: 262947
-
Chad Rosier authored
llvm-svn: 262944
-
Quentin Colombet authored
The fix consisting in using the library call for atomic compare and swap when the instruction is not safe to use may be incorrect. Indeed the library call may not exist on all platform. In other words, we need a better fix! llvm-svn: 262943
-
Chad Rosier authored
Test to be committed in follow up commit, per discussion in D17097. http://reviews.llvm.org/D17097 llvm-svn: 262942
-
Rafael Espindola authored
It was causing errors like /lib/libc.so.6 is incompatible with elf_x86_64 when linking on Fedora. Every system has different default paths. It seems better to just trust the driver to pass the correct -L options. This reverts commit 262910. llvm-svn: 262941
-
Sanjay Patel authored
llvm-svn: 262940
-
Krzysztof Parzyszek authored
This was inadvertently omitted from r262774, which added the mutation interface. llvm-svn: 262939
-
Aaron Ballman authored
Turning on the /bigobj flag for two more files that will not link with MSVC 2015 Win64 Debug due to the section limit. llvm-svn: 262938
-
Sanjay Patel authored
llvm-svn: 262937
-
Artyom Skrobov authored
Reviewers: t.p.northover, grosbach, resistor Subscribers: aemerson, rengolin, llvm-commits Differential Revision: http://reviews.llvm.org/D17636 llvm-svn: 262936
-
Hans Wennborg authored
This caused PR26870. llvm-svn: 262935
-
Manuel Klimek authored
llvm-svn: 262934
-
Mike Spertus authored
This is one of a series of changes to improve the MSVC visualization of Clang types. This one focuses on Record and SubstTemplateTypeParmType meaning that, for example, a TemplateArgumentLoc no longer displays incomprehensibly in the locals window as {Argument={DeclArg={Kind=1 QT=0x033acb00 D=0xcccccccc {DeclType=???}}... but instead much more usefully as Type template parameter: SubstTemplateTypeParm: {Identifier (("T"))} => Record, {Identifier (("A"))} Additional types and improvements will be made in subsequent commits llvm-svn: 262933
-
Marshall Clow authored
llvm-svn: 262932
-
Marshall Clow authored
llvm-svn: 262931
-
Krzysztof Parzyszek authored
llvm-svn: 262930
-
Igor Breger authored
Differential Revision: http://reviews.llvm.org/D17953 llvm-svn: 262929
-
Marshall Clow authored
llvm-svn: 262928
-
Filipe Cabecinhas authored
llvm-svn: 262927
-
Benjamin Kramer authored
llvm-svn: 262926
-
Tamas Berghammer authored
llvm-svn: 262925
-
Filipe Cabecinhas authored
Summary: I left --build-system for backwards compat, in case there are scripts using it. Feel free to ask for its removal too. Reviewers: chapuni, tstellarAMD Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D17886 llvm-svn: 262924
-
Tamas Berghammer authored
llvm-svn: 262923
-
Kevin Funk authored
llvm-svn: 262922
-
Duncan P. N. Exon Smith authored
Similar to the template cases in r262050, when a C++ method in an unavailable struct/class calls unavailable API, don't diagnose an error. I.e., this case was failing: void foo() __attribute__((unavailable)); struct __attribute__((unavailable)) A { void bar() { foo(); } }; Since A is unavailable, A::bar is allowed to call foo. However, we were emitting a diagnostic here. This commit checks up the context chain from A::bar, in a manner inspired by SemaDeclAttr.cpp:isDeclUnavailable. I expected to find other related issues but failed to trigger them: - I wondered if DeclBase::getAvailability should check for `TemplateDecl` instead of `FunctionTemplateDecl`, but I couldn't find a way to trigger this. I left behind a few extra tests to make sure we don't regress. - I wondered if Sema::isFunctionConsideredUnavailable should be symmetric, checking up the context chain of the callee (this commit only checks up the context chain of the caller). However, I couldn't think of a testcase that didn't require first referencing the unavailable type; this, we already diagnose. rdar://problem/25030656 llvm-svn: 262921
-
Ewan Crawford authored
llvm-svn: 262920
-
Simon Pilgrim authored
llvm-svn: 262919
-
Junmo Park authored
This commit removes pr25342 for reverting r262670 clearly. llvm-svn: 262918
-
Tobias Grosser authored
llvm-svn: 262917
-
Junmo Park authored
This reverts commit r262670 due to compile failure. llvm-svn: 262916
-
Duncan P. N. Exon Smith authored
This is a follow-up to r261512, which made the 'strict' availability attribute flag behave like 'unavailable'. However, that fix was insufficient. The following case would (erroneously) error when the deployment target was older than 10.9: struct __attribute__((availability(macosx,strict,introduced=10.9))) A; __attribute__((availability(macosx,strict,introduced=10.9))) void f(A*); The use of A* in the argument list for f is valid here, since f and A have the same availability. The fix is to return AR_Unavailable from DeclBase::getAvailability instead of AR_NotYetIntroduced. This also reverts the special handling added in r261163, instead relying on the well-tested logic for AR_Unavailable. rdar://problem/23791325 llvm-svn: 262915
-
Enrico Granata authored
llvm-svn: 262914
-
Enrico Granata authored
llvm-svn: 262913
-
Enrico Granata authored
- move alias help generation to CommandAlias, out of CommandInterpreter - make alias creation use argument strings instead of OptionArgVectorSP; the former is a more reasonable currency than the latter - remove m_is_alias from CommandObject, it wasn't actually being used llvm-svn: 262912
-
Rui Ueyama authored
The variables corresponding to command line options are named mechanically. Because the option for the variable is -noinhibit-exec and not -no-inhibit-exec, it should be name this way. llvm-svn: 262911
-
Rui Ueyama authored
GNU ld and gold have these paths as default search paths. If you don't want these directories, pass -nostdlib. llvm-svn: 262910
-