summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* [Embtk] MIPS32: support correctly musl dynamic linkerembtk-support-release-3.3Abdoulaye Walsimou Gaye2014-04-20
| | | | Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
* [Embtk] ARM: support musl and uClibc hard float triplesAbdoulaye Walsimou Gaye2014-04-19
| | | | Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
* [Embtk] ARM/gnutools::Assemble: when no -mfpu is specficied use default ↵Abdoulaye Walsimou Gaye2014-04-19
| | | | | | configured if any Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
* ARM: support atomic operations for pre v6 devicesAbdoulaye Walsimou Gaye2013-07-23
| | | | Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
* Merge branch 'release_33' of git://github.com/llvm-mirror/clang into ↵Abdoulaye Walsimou Gaye2013-07-21
|\ | | | | | | embtk-support-release-3.3
| * Make sure the assembler-with-cpp hack for "#" works with multiple "#"s inTom Stellard2013-07-12
| | | | | | | | | | | | | | | | | | | | succession. Fixes PR16363. Merged from r184240 Author: Eli Friedman <eli.friedman@gmail.com> Date: Tue Jun 18 21:33:38 2013 +0000 git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_33@186204 91177308-0d34-0410-b5e6-96231b3b80d8
* | Merge branch 'release_33' of git://github.com/llvm-mirror/clang into ↵Abdoulaye Walsimou Gaye2013-06-12
|\| | | | | | | | | | | embtk-support-release-3.3 Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
| * Remove bit not added to 3.3.Bill Wendling2013-06-04
| | | | | | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_33@183212 91177308-0d34-0410-b5e6-96231b3b80d8
| * Update release notes for the 3.3 release.Bill Wendling2013-06-04
| | | | | | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_33@183208 91177308-0d34-0410-b5e6-96231b3b80d8
| * Merging r182645:Bill Wendling2013-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r182645 | eugenis | 2013-05-24 07:28:03 -0700 (Fri, 24 May 2013) | 6 lines Add -lrt to sanitizer link arguments. Sanitizer runtime intercepts functions from librt. Not doing this will fail if the librt dependency is not present at program startup (ex. comes from a dlopen()ed library). ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_33@182944 91177308-0d34-0410-b5e6-96231b3b80d8
| * Reverting r182337, which merged r182266, __declspec(selectany)Reid Kleckner2013-05-21
| | | | | | | | | | | | | | Was "Implement __declspec(selectany) under -fms-extensions ..." git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_33@182381 91177308-0d34-0410-b5e6-96231b3b80d8
| * Merging r181283:Bill Wendling2013-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r181283 | rsmith | 2013-05-06 19:55:48 -0700 (Mon, 06 May 2013) | 6 lines C++ status: - fix paper links to point to isocpp.org, where most of the papers are already up - update "SVN" features to "Clang 3.3" to distinguish them from features which we complete after the branch - document use of -std=c++1y to enable c++1y support ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_33@182341 91177308-0d34-0410-b5e6-96231b3b80d8
| * Merging r181342:Bill Wendling2013-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r181342 | rsmith | 2013-05-07 12:32:56 -0700 (Tue, 07 May 2013) | 4 lines C++1y: Update __cplusplus to temporary value 201305L to allow detection of provisional C++1y support. Add __has_feature and __has_extension checks for C++1y features (based on the provisional names from the C++ features study group), and update documentation to match. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_33@182340 91177308-0d34-0410-b5e6-96231b3b80d8
| * Merging r181487:Bill Wendling2013-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r181487 | fjahanian | 2013-05-08 16:38:56 -0700 (Wed, 08 May 2013) | 4 lines put noisy "unknown command tag name" warning under -Wdocumentation-unknown-command and off by default. patch by Dmitri Gribenko. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_33@182338 91177308-0d34-0410-b5e6-96231b3b80d8
| * Merging r182266:Bill Wendling2013-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r182266 | rnk | 2013-05-20 07:02:37 -0700 (Mon, 20 May 2013) | 13 lines Implement __declspec(selectany) under -fms-extensions selectany only applies to externally visible global variables. It has the effect of making the data weak_odr. The MSDN docs suggest that unused definitions can only be dropped at linktime, so Clang uses weak instead of linkonce. MSVC optimizes away references to constant selectany data, so it must assume that there is only one definition, hence weak_odr. Reviewers: espindola Differential Revision: http://llvm-reviews.chandlerc.com/D814 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_33@182337 91177308-0d34-0410-b5e6-96231b3b80d8
| * Merging r182072:Bill Wendling2013-05-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r182072 | rsmith | 2013-05-16 19:19:35 -0700 (Thu, 16 May 2013) | 6 lines PR15757: When we instantiate an inheriting constructor template, also instantiate the inherited constructor template and mark that as the constructor which the instantiated specialization is inheriting. This fixes a crash-on-valid when trying to compute the exception specification of a specialization of the inheriting constructor. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_33@182150 91177308-0d34-0410-b5e6-96231b3b80d8
| * Merging r181465:Bill Wendling2013-05-16
| | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r181465 | rsmith | 2013-05-08 13:32:14 -0700 (Wed, 08 May 2013) | 2 lines Add missing triple to unit test. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_33@182037 91177308-0d34-0410-b5e6-96231b3b80d8
| * Merging r181909:Bill Wendling2013-05-15
| | | | | | | | | | | | | | ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_33@181921 91177308-0d34-0410-b5e6-96231b3b80d8
| * Merging r181750:Bill Wendling2013-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r181750 | rafael | 2013-05-13 17:44:24 -0700 (Mon, 13 May 2013) | 4 lines Use atomic instructions on linux thumb v7. This matches gcc's behaviour. The patch also explicitly parses the version so that this keeps working when we add support for v8. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_33@181920 91177308-0d34-0410-b5e6-96231b3b80d8
| * Merging r181728:Bill Wendling2013-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r181728 | rafael | 2013-05-13 13:09:47 -0700 (Mon, 13 May 2013) | 6 lines Use atomic instructions on ARM linux. This is safe given how the pre-v6 atomic ops funcions in libgcc are implemented. This fixes pr15429. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_33@181919 91177308-0d34-0410-b5e6-96231b3b80d8
* | [Embtk] Give ability to not build unittests via NO_UNITTESTSAbdoulaye Walsimou Gaye2013-05-10
| | | | | | | | Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
* | [Embtk]: ARM: Allow __atomic builtins with integral scalar or pointer type ↵Abdoulaye Walsimou Gaye2013-05-10
| | | | | | | | | | | | | | up to 8 bytes Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org> (cherry picked from commit 35818d37f6595f9baef5dee540b540457db3423d)
* | [Embtk] ARM: getARMTargetCPU(): correctly use default configured in all placesAbdoulaye Walsimou Gaye2013-05-10
| | | | | | | | | | Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org> (cherry picked from commit cecfa0899dcd7301eba6f3b4e07c5fa334c7539f)
* | [Embtk]: MIPS32: correctly set dynamic linker for uClibc and musl TriplesAbdoulaye Walsimou Gaye2013-05-10
| | | | | | | | | | Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org> (cherry picked from commit 0ec7d792230347e4db385458443657b39a1bbfaa)
* | [Embtk] gnutools::Assemble: MIPS: explicitly add -call_nonpic when compiling ↵Abdoulaye Walsimou Gaye2013-05-10
| | | | | | | | | | | | | | non PIC code Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org> (cherry picked from commit eb59af8b10ff9621d75e9a57a531783ce898c313)
* | [Embtk]: MIPS: getMipsCPUAndABI(): support more possible GNU TriplesAbdoulaye Walsimou Gaye2013-05-10
| | | | | | | | | | Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org> (cherry picked from commit 258f9ac18793e0712542589ffdaa9e994bf56d20)
* | [Embtk]: MIPS: when there is no -mabi=, default to the one used at configure ↵Abdoulaye Walsimou Gaye2013-05-10
| | | | | | | | | | | | | | time if any Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org> (cherry picked from commit 4246e656912860716a62366e837d17bd31ce5785)
* | [Embtk]: MIPS: when there is no -mfloat-abi=, default to the one used at ↵Abdoulaye Walsimou Gaye2013-05-10
| | | | | | | | | | | | | | configure time if any Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org> (cherry picked from commit cc803990a10d716011ac47300c8c90aae19dcc88)
* | [Embtk] linux toolchains: use default linker hash-style when it was set at ↵Abdoulaye Walsimou Gaye2013-05-10
| | | | | | | | | | | | | | configure time Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org> (cherry picked from commit e1432dd66f08bf5a49e21eb457c94c5eca5d9ee4)
* | [Embtk] ARM: hard float: take into account default configured FPU if no ↵Abdoulaye Walsimou Gaye2013-05-10
| | | | | | | | | | | | | | | | | | | | | | -mfpu specified In case of hard floating point, without -mfpu passed, take into account default configured FPU if any. And if there is no default FPU at all, use vfp by default. Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org> (cherry picked from commit 7f485e4492ff6fb9ab93a3e2ea8ce98c6a4b05ca)
* | [Embtk] ARM: used default float abi when it was set at configure timeAbdoulaye Walsimou Gaye2013-05-10
| | | | | | | | | | Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org> (cherry picked from commit 6bb01a16c30f6f911b7802d76d62f12323297152)
* | [Embtk] ARM: linuxtools::Assemble::ConstructJob(): always set -mcpuAbdoulaye Walsimou Gaye2013-05-10
| | | | | | | | | | | | | | This will ensure us that gas uses correct -mcpu. Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org> (cherry picked from commit f92fab27752dc7817f8123cecba5021e45c41f70)
* | [Embtk] ARM: getARMTargetCPU(): use default configured cpu if -march and ↵Abdoulaye Walsimou Gaye2013-05-10
| | | | | | | | | | | | | | -mcpu are not specified Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org> (cherry picked from commit ad029c3645d110504539b4a847a2f72b8142b71d)
* | [Embtk] ARM: support dynamic linker for uClibc and musl C librariesAbdoulaye Walsimou Gaye2013-05-10
| | | | | | | | | | Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org> (cherry picked from commit 517c42a476d225408050bdfbfbfe112cd0bc57d7)
* | [Embtk]: gnu linker: add support of -r switchAbdoulaye Walsimou Gaye2013-05-10
|/ | | | | Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org> (cherry picked from commit 0596efc790fc6e5832b76e1ff9a985a1a32d4370)
* Merging r181286:Bill Wendling2013-05-08
| | | | | | | ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_33@181456 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r181368:Bill Wendling2013-05-08
| | | | | | | | | | | | | ------------------------------------------------------------------------ r181368 | rsmith | 2013-05-07 14:53:22 -0700 (Tue, 07 May 2013) | 3 lines Don't crash in IRGen if a conditional with 'throw' in one of its branches is used as a branch condition. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_33@181401 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r181299:Bill Wendling2013-05-08
| | | | | | | | | | | | | | | ------------------------------------------------------------------------ r181299 | djasper | 2013-05-07 02:25:29 -0700 (Tue, 07 May 2013) | 5 lines Fix clang-format emacs integration in last line. Emacs seems to have a line that is just past the last character of the buffers content. This needs to be handled specially so that clang-format is not called with an invalid -offset. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_33@181380 91177308-0d34-0410-b5e6-96231b3b80d8
* Creating release_33 branchBill Wendling2013-05-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_33@181274 91177308-0d34-0410-b5e6-96231b3b80d8
* DebugInfo: Support imported modules (using directives) within lexical blocks.David Blaikie2013-05-06
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181272 91177308-0d34-0410-b5e6-96231b3b80d8
* [analyzer; alternate arrows] don't increment the path iterator when we just ↵Ted Kremenek2013-05-06
| | | | | | | | | deleted the next iterator. This is an optimization. It is possible that by deleting the next edge we will pattern match again at the current spot. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181256 91177308-0d34-0410-b5e6-96231b3b80d8
* Grab-bag of bit-field fixes:John McCall2013-05-06
| | | | | | | | | | | | | | - References to ObjC bit-field ivars are bit-field lvalues; fixes rdar://13794269, which got me started down this. - Introduce Expr::refersToBitField, switch a couple users to it where semantically important, and comment the difference between this and the existing API. - Discourage Expr::getBitField by making it a bit longer and less general-sounding. - Lock down on const_casts of bit-field gl-values until we hear back from the committee as to whether they're allowed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181252 91177308-0d34-0410-b5e6-96231b3b80d8
* Add missing initialization for Sema::CurScope. This is important for AST ↵Richard Smith2013-05-06
| | | | | | consumers which don't create a Parser. Pointed out by Tom Honermann. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181251 91177308-0d34-0410-b5e6-96231b3b80d8
* Move PragmaCommentHandler to lib/Parse in preparation for calling SemaReid Kleckner2013-05-06
| | | | | | | | | | | | | | Summary: No functionality change. The existing tests for this pragma only verify that we can preprocess it. Reviewers: rsmith CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D751 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181246 91177308-0d34-0410-b5e6-96231b3b80d8
* Modify ASTReaderListener to allow visiting the input files of an AST file.Argyrios Kyrtzidis2013-05-06
| | | | | | We can pass such an input-file-visiting ASTReaderListener to ASTReader::readASTFileControlBlock. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181238 91177308-0d34-0410-b5e6-96231b3b80d8
* Have the RecursiveASTVisitor traverse the type source info of an objc class ↵Argyrios Kyrtzidis2013-05-06
| | | | | | message. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181237 91177308-0d34-0410-b5e6-96231b3b80d8
* [analyzer] Remove now-unused bindCompoundLiteral helper function.Jordan Rose2013-05-06
| | | | | | | | The one user has been changed to use getLValue on the compound literal expression and then use the normal bindLoc to assign a value. No need to special case this in the StoreManager. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181214 91177308-0d34-0410-b5e6-96231b3b80d8
* [analyzer] Handle CXXTemporaryObjectExprs in compound literals.Jordan Rose2013-05-06
| | | | | | | | | | | | This occurs because in C++11 the compound literal syntax can trigger a constructor call via list-initialization. That is, "Point{x, y}" and "(Point){x, y}" end up being equivalent. If this occurs, the inner CXXConstructExpr will have already handled the object construction; the CompoundLiteralExpr just needs to propagate that value forwards. <rdar://problem/13804098> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181213 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix representation of compound literals for C++ objects with destructors.Jordan Rose2013-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, this compound literal expression (a GNU extension in C++): (AggregateWithDtor){1, 2} resulted in this AST: `-CXXBindTemporaryExpr [...] 'struct Point' (CXXTemporary [...]) `-CompoundLiteralExpr [...] 'struct AggregateWithDtor' `-CXXBindTemporaryExpr [...] 'struct AggregateWithDtor' (CXXTemporary [...]) `-InitListExpr [...] 'struct AggregateWithDtor' |-IntegerLiteral [...] 'int' 1 `-IntegerLiteral [...] 'int' 2 Note the two CXXBindTemporaryExprs. The InitListExpr is really part of the CompoundLiteralExpr, not an object in its own right. By introducing a new entity initialization kind in Sema specifically for compound literals, we avoid the treatment of the inner InitListExpr as a temporary. `-CXXBindTemporaryExpr [...] 'struct Point' (CXXTemporary [...]) `-CompoundLiteralExpr [...] 'struct AggregateWithDtor' `-InitListExpr [...] 'struct AggregateWithDtor' |-IntegerLiteral [...] 'int' 1 `-IntegerLiteral [...] 'int' 2 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181212 91177308-0d34-0410-b5e6-96231b3b80d8
* Add SystemZ supportUlrich Weigand2013-05-06
| | | | | | | | | | | | | | | | This patch then adds all the usual platform-specific pieces for SystemZ: driver support, basic target info, register names and constraints, ABI info and vararg support. It also adds new tests to verify pre-defined macros and inline asm, and updates a test for the minimum alignment change. This version of the patch incorporates feedback from reviews by Eric Christopher and John McCall. Thanks to all reviewers! Patch by Richard Sandiford. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181211 91177308-0d34-0410-b5e6-96231b3b80d8