- Dec 05, 2013
-
-
Eric Christopher authored
llvm-svn: 196431
-
Eric Christopher authored
llvm-svn: 196430
-
Aaron Ballman authored
Giving a Subjects list to DllExport, which allows the removal of some custom semantic handling. The same cannot be done for DllImport, and so comments were left explaining why. llvm-svn: 196429
-
Aaron Ballman authored
Common functionality is already checked within SemaDeclAttr.cpp and so it does not need to be re-checked for each target. llvm-svn: 196428
-
Eric Christopher authored
llvm-svn: 196427
-
- Dec 04, 2013
-
-
Eric Christopher authored
llvm-svn: 196426
-
Reid Kleckner authored
Fixes the relevant FIXME about copy-pasted code. llvm-svn: 196425
-
David Peixotto authored
ARM symbol variants are written with parens instead of @ like this: .word __GLOBAL_I_a(target1) This commit adds support for parsing these symbol variants in expressions. We introduce a new flag to MCAsmInfo that indicates the parser should use parens to parse the symbol variant. The expression parser is modified to look for symbol variants using parens instead of @ when the corresponding MCAsmInfo flag is true. The MCAsmInfo parens flag is enabled only for ARM on ELF. By adding this flag to MCAsmInfo, we are able to get rid of redundant ARM-specific symbol variants and use the generic variants instead (e.g. VK_GOT instead of VK_ARM_GOT). We use the new UseParensForSymbolVariant attribute in MCAsmInfo to correctly print the symbol variants for arm. To achive this we need to keep a handle to the MCAsmInfo in the MCSymbolRefExpr class that we can check when printing the symbol variant. Updated Tests: Changed case of symbol variant to match the generic kind. test/CodeGen/ARM/tls-models.ll test/CodeGen/ARM/tls1.ll test/CodeGen/ARM/tls2.ll test/CodeGen/Thumb2/tls1.ll test/CodeGen/Thumb2/tls2.ll PR18080 llvm-svn: 196424
-
Faisal Vali authored
Clang currently croaks on the following: struct X1 { struct X2 { int L = ([] (int i) { return i; })(2); }; }; asserting that the containing lexical context of the lambda is not Sema's cur context, when pushing the lambda's decl context on. This occurs because (prior to this patch) getContainingDC always returns the non-nested class for functions at class scope (even for inline member functions of nested classes (to account for delayed parsing of their bodies)). The patch addresses this by having getContainingDC always return the lexical DC for a lambda's call operator. Link to the bug: http://llvm.org/bugs/show_bug.cgi?id=18052 Link to Richard Smith's feedback on phabricator: http://llvm-reviews.chandlerc.com/D2331 Thanks! llvm-svn: 196423
-
Eric Christopher authored
llvm-svn: 196422
-
Eric Christopher authored
llvm-svn: 196421
-
Aaron Ballman authored
The MSP430Interrupt attribute does have a sema handler (it's in TargetAttributesSema). Added a FIXME about the attribute being nameless when it really does have a valid name, and a comment explaining why we're using the name instead of the attribute kind. llvm-svn: 196420
-
Eric Christopher authored
rather than magically making the names match. llvm-svn: 196419
-
Eric Christopher authored
llvm-svn: 196418
-
Aaron Ballman authored
Getting rid of some hard-coded strings. No functional changes intended, though some test cases needed to be updated for attribute names becoming quoted. llvm-svn: 196417
-
David Blaikie authored
While we still have a few (~4) non-trivial comments with string concatenation, etc that should remain conditionalized, these trivial literal comments can be simplified. llvm-svn: 196416
-
Aaron Ballman authored
llvm-svn: 196415
-
David Blaikie authored
llvm-svn: 196414
-
Greg Clayton authored
Patch from Todd Fiala that install the lldb.py module in the prefix directory and also makes install fail if the prefix directory can't be accessed llvm-svn: 196413
-
Eric Christopher authored
checks. No functional change. llvm-svn: 196412
-
Howard Hinnant authored
Give all members of exception types default visibility. Lack of this is causing some illegal code relocations rare and hard to reproduce cases. llvm-svn: 196411
-
Rafael Espindola authored
llvm-svn: 196410
-
John Thompson authored
llvm-svn: 196409
-
Fariborz Jahanian authored
which specifies couple of (optional) method selectors for bridging a CFobject to or from an ObjectiveC object. This is wip. // rdsr://15499111 llvm-svn: 196408
-
John Thompson authored
Enea Zaffanella's fix for the PPCallbacks Elif callback, with a slight re-org, and an update of the new PPCallbacks test (soon to be moved to clang from extra), rather the unittest. llvm-svn: 196407
-
Richard Smith authored
llvm-svn: 196406
-
Greg Clayton authored
Allow the hostname to be specified when asking a platform to launch another debugserver in case you want to change it. The GDB server remote platform how has the debugserver that are launched on iOS devices to use localhost due to the use of a USB mux. llvm-svn: 196405
-
Greg Clayton authored
Enable POSIX_SPAWN_CLOEXEC_DEFAULT (a darwin specific flag) when available when using posix_spawn to spawn processes to close all file handles. llvm-svn: 196404
-
Greg Clayton authored
llvm-svn: 196403
-
Reid Kleckner authored
Summary: MSVC destroys arguments in the callee from left to right. Because C++ objects have to be destroyed in the reverse order of construction, Clang has to construct arguments from right to left and destroy arguments from left to right. This patch fixes the ordering by reversing the order of evaluation of all call arguments under the MS C++ ABI. Fixes PR18035. Reviewers: rsmith Differential Revision: http://llvm-reviews.chandlerc.com/D2275 llvm-svn: 196402
-
Greg Clayton authored
Switch local launching of debugserver over to always use a FIFO in order to handshake with the launched debugserver. This helps ensure that the launched debugserver is ready and listening for a connection. Prior to this we had a race condition. Consolidate the launching of debugserver into a single place: a static function in GDBRemoteCommunication. llvm-svn: 196401
-
Yuchen Wu authored
llvm-svn: 196400
-
David Blaikie authored
llvm-svn: 196399
-
Eric Christopher authored
a few things more const as well because we're now using const references to refer to iterators. llvm-svn: 196398
-
Greg Clayton authored
Added a new directory type for the "bool Host::GetLLDBPath (PathType path_type, FileSpec &file_spec)" function: ePathTypeLLDBTempSystemDir This will get the temporary directory on the current system. Removed a call to tmpnam() and replaced it with a call to mktemp() using a template that will be in the temp directory. llvm-svn: 196397
-
David Blaikie authored
llvm-svn: 196396
-
David Blaikie authored
llvm-svn: 196395
-
David Blaikie authored
Since we always emit only one abbrevation section (shared by all the compilation units in this module) there's no need for a separate label at the start of each one (and we weren't using the CU ID anyway, so there really was only one label). Use the section label instead and drop the wholely unused debug_abbrev_end label. llvm-svn: 196394
-
Cameron McInally authored
llvm-svn: 196393
-
David Blaikie authored
Instead, reuse the same MCSymbol - this should make the code easier to follow by avoiding hard to trace dependencies between different bits of code. llvm-svn: 196392
-