[clang] 4eaa024 - APINotes: constify `dump` methods (NFC)

2020-12-01 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2020-12-01T19:01:06Z New Revision: 4eaa024863f4a86151beb7971301c6ab10a9de01 URL: https://github.com/llvm/llvm-project/commit/4eaa024863f4a86151beb7971301c6ab10a9de01 DIFF: https://github.com/llvm/llvm-project/commit/4eaa024863f4a86151beb7971301c6ab10a9de01.diff

[clang-tools-extra] f1e8ceb - docs: correct SPHNIX document reference

2021-09-16 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2021-09-16T17:43:59Z New Revision: f1e8ceb3054a02f4225ff7ab74cde10b70826707 URL: https://github.com/llvm/llvm-project/commit/f1e8ceb3054a02f4225ff7ab74cde10b70826707 DIFF: https://github.com/llvm/llvm-project/commit/f1e8ceb3054a02f4225ff7ab74cde10b70826707.diff

[clang] 96d3319 - Sema: relax va_start checking further for Windows AArch64

2021-09-20 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2021-09-20T21:23:33Z New Revision: 96d3319d6f024b17ac725d9595548acc4787003c URL: https://github.com/llvm/llvm-project/commit/96d3319d6f024b17ac725d9595548acc4787003c DIFF: https://github.com/llvm/llvm-project/commit/96d3319d6f024b17ac725d9595548acc4787003c.diff

[clang] 76f1baa - Revert "Revert "DirectoryWatcher: add an implementation for Windows""

2021-06-12 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2021-06-12T09:27:44-07:00 New Revision: 76f1baa7875acd88bdd4b431eed6e2d2decfc0fe URL: https://github.com/llvm/llvm-project/commit/76f1baa7875acd88bdd4b431eed6e2d2decfc0fe DIFF: https://github.com/llvm/llvm-project/commit/76f1baa7875acd88bdd4b431eed6e2d2decfc0fe.

[clang] 527a182 - DirectoryWatcher: also wait for the notifier thread

2021-06-13 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2021-06-13T10:58:55-07:00 New Revision: 527a1821e6f8e115db3335a3341c7ac491725a0d URL: https://github.com/llvm/llvm-project/commit/527a1821e6f8e115db3335a3341c7ac491725a0d DIFF: https://github.com/llvm/llvm-project/commit/527a1821e6f8e115db3335a3341c7ac491725a0d.

[libunwind] e03be2e - unwind: allow building with GCC

2021-06-13 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2021-06-13T14:44:54-07:00 New Revision: e03be2efe564026ad3b04d459794c89c674e1ed9 URL: https://github.com/llvm/llvm-project/commit/e03be2efe564026ad3b04d459794c89c674e1ed9 DIFF: https://github.com/llvm/llvm-project/commit/e03be2efe564026ad3b04d459794c89c674e1ed9.

[clang] a6948da - DirectoryWatcher: close a possible window of race on Windows

2021-06-15 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2021-06-15T09:15:17-07:00 New Revision: a6948da86ad7e78d66b26263c2681ef6385cc234 URL: https://github.com/llvm/llvm-project/commit/a6948da86ad7e78d66b26263c2681ef6385cc234 DIFF: https://github.com/llvm/llvm-project/commit/a6948da86ad7e78d66b26263c2681ef6385cc234.

[clang] decfad7 - Revert "Re-Revert "DirectoryWatcher: add an implementation for Windows""

2021-06-19 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2021-06-19T09:19:52-07:00 New Revision: decfad7d8e9b268654dd2d76a7f5f777502b60a6 URL: https://github.com/llvm/llvm-project/commit/decfad7d8e9b268654dd2d76a7f5f777502b60a6 DIFF: https://github.com/llvm/llvm-project/commit/decfad7d8e9b268654dd2d76a7f5f777502b60a6.

[libunwind] d6d0b65 - unwind: repair register restoration for OR1K

2021-08-02 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2021-08-02T16:36:37Z New Revision: d6d0b6559e97a3d0b258814e870d3e19f3a7ffcc URL: https://github.com/llvm/llvm-project/commit/d6d0b6559e97a3d0b258814e870d3e19f3a7ffcc DIFF: https://github.com/llvm/llvm-project/commit/d6d0b6559e97a3d0b258814e870d3e19f3a7ffcc.diff

[libunwind] 08a5ac3 - libunwind: add missing break statements in EHABI

2021-08-10 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2021-08-10T17:53:31Z New Revision: 08a5ac36b956edeb989b4a65269a829eac26a5a2 URL: https://github.com/llvm/llvm-project/commit/08a5ac36b956edeb989b4a65269a829eac26a5a2 DIFF: https://github.com/llvm/llvm-project/commit/08a5ac36b956edeb989b4a65269a829eac26a5a2.diff

[clang] 24f4c3e - Lex: add a callback for `#pragma mark`

2021-07-02 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2021-07-02T15:44:01-07:00 New Revision: 24f4c3ebef63c7d2553132d7d9d75ea19338bcb7 URL: https://github.com/llvm/llvm-project/commit/24f4c3ebef63c7d2553132d7d9d75ea19338bcb7 DIFF: https://github.com/llvm/llvm-project/commit/24f4c3ebef63c7d2553132d7d9d75ea19338bcb7.

[clang] 7a20670 - AST: correct name decoration for swift async functions on Windows

2021-07-13 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2021-07-13T10:04:11-07:00 New Revision: 7a20670d168af31ef77209f43ca0622800ce513a URL: https://github.com/llvm/llvm-project/commit/7a20670d168af31ef77209f43ca0622800ce513a DIFF: https://github.com/llvm/llvm-project/commit/7a20670d168af31ef77209f43ca0622800ce513a.

[clang] 1ad7de9 - Headers: exclude `#include_next ` on MSVC

2021-11-24 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2021-11-24T12:52:16-08:00 New Revision: 1ad7de9e92bc2977698e5f6d6493202b50c912d5 URL: https://github.com/llvm/llvm-project/commit/1ad7de9e92bc2977698e5f6d6493202b50c912d5 DIFF: https://github.com/llvm/llvm-project/commit/1ad7de9e92bc2977698e5f6d6493202b50c912d5.

[clang] 585f62b - CodeGen: correct handling of debug info generation for aliases

2022-08-16 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2022-08-16T21:27:05Z New Revision: 585f62be1a438ca132aa443e556d102bc908a072 URL: https://github.com/llvm/llvm-project/commit/585f62be1a438ca132aa443e556d102bc908a072 DIFF: https://github.com/llvm/llvm-project/commit/585f62be1a438ca132aa443e556d102bc908a072.diff

[clang] 6c3a290 - Headers: further refine the `stdatomic.h` MSVC inclusion

2022-12-21 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2022-12-21T19:09:10Z New Revision: 6c3a2902f1f8d102aa5b3cd37def4f1420ac0c80 URL: https://github.com/llvm/llvm-project/commit/6c3a2902f1f8d102aa5b3cd37def4f1420ac0c80 DIFF: https://github.com/llvm/llvm-project/commit/6c3a2902f1f8d102aa5b3cd37def4f1420ac0c80.diff

[clang] 179d24d - Parse: handle another case of invalid handling for attributes

2023-01-05 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2023-01-05T20:53:52Z New Revision: 179d24d764ac68220047a8771e1bb06a7cb2a0da URL: https://github.com/llvm/llvm-project/commit/179d24d764ac68220047a8771e1bb06a7cb2a0da DIFF: https://github.com/llvm/llvm-project/commit/179d24d764ac68220047a8771e1bb06a7cb2a0da.diff

[clang] f806be5 - APINotes: add initial stub of APINotesWriter

2023-08-17 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2023-08-17T08:49:35-07:00 New Revision: f806be5eaae156eedeebd3cae2d0894ab0fa65dd URL: https://github.com/llvm/llvm-project/commit/f806be5eaae156eedeebd3cae2d0894ab0fa65dd DIFF: https://github.com/llvm/llvm-project/commit/f806be5eaae156eedeebd3cae2d0894ab0fa65dd.

[clang] 6cdaf7e - APINotes: remove accidentally committed downstream changes

2023-08-17 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2023-08-17T10:05:10-07:00 New Revision: 6cdaf7e6ad53f882d1b3a36f05c0e145db1d7051 URL: https://github.com/llvm/llvm-project/commit/6cdaf7e6ad53f882d1b3a36f05c0e145db1d7051 DIFF: https://github.com/llvm/llvm-project/commit/6cdaf7e6ad53f882d1b3a36f05c0e145db1d7051.

[clang] [APINotes] Upstream APINotesReader (PR #66769)

2023-10-09 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,202 @@ +//===--- APINotesReader.h - API Notes Reader *- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[clang] [APINotes] Upstream APINotesReader (PR #66769)

2023-10-09 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,2001 @@ +//===--- APINotesReader.cpp - API Notes Reader --*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: A

[clang] [APINotes] Upstream APINotesReader (PR #66769)

2023-10-09 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,2001 @@ +//===--- APINotesReader.cpp - API Notes Reader --*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: A

[clang] [APINotes] Upstream APINotesReader (PR #66769)

2023-10-09 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,202 @@ +//===--- APINotesReader.h - API Notes Reader *- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[clang] [APINotes] Upstream APINotesReader (PR #66769)

2023-10-09 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,2001 @@ +//===--- APINotesReader.cpp - API Notes Reader --*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: A

[clang] [APINotes] Upstream APINotesReader (PR #66769)

2023-10-09 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,202 @@ +//===--- APINotesReader.h - API Notes Reader *- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[clang] [APINotes] Upstream APINotesReader (PR #66769)

2023-10-09 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,202 @@ +//===--- APINotesReader.h - API Notes Reader *- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[clang] [APINotes] Upstream APINotesReader (PR #66769)

2023-10-09 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,202 @@ +//===--- APINotesReader.h - API Notes Reader *- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[clang] [APINotes] Upstream APINotesReader (PR #66769)

2023-10-09 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,202 @@ +//===--- APINotesReader.h - API Notes Reader *- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[clang] [APINotes] Upstream APINotesReader (PR #66769)

2023-10-09 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,2001 @@ +//===--- APINotesReader.cpp - API Notes Reader --*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: A

[clang] [APINotes] Upstream APINotesReader (PR #66769)

2023-10-09 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,2001 @@ +//===--- APINotesReader.cpp - API Notes Reader --*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: A

[clang] [APINotes] Upstream APINotesReader (PR #66769)

2023-10-09 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,2001 @@ +//===--- APINotesReader.cpp - API Notes Reader --*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: A

[clang] [APINotes] Upstream APINotesReader (PR #66769)

2023-10-09 Thread Saleem Abdulrasool via cfe-commits
@@ -0,0 +1,2001 @@ +//===--- APINotesReader.cpp - API Notes Reader --*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: A

[libunwind] [libunwind] Avoid reading OOB for non-existent .eh_frame_hdr (PR #68815)

2023-10-11 Thread Saleem Abdulrasool via cfe-commits
@@ -53,8 +53,21 @@ template class EHHeaderParser { template bool EHHeaderParser::decodeEHHdr(A &addressSpace, pint_t ehHdrStart, -pint_t ehHdrEnd, EHHeaderInfo &ehHdrInfo) { +size_t ehHdrSize, EHHeaderIn

[libunwind] [libunwind] Consistently pass start+length to decodeEHHdr() (PR #68813)

2023-10-11 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd requested changes to this pull request. Can we merge this into #68815 please? https://github.com/llvm/llvm-project/pull/68813 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/lis

[libunwind] [libunwind] Avoid reading OOB for non-existent .eh_frame_hdr (PR #68815)

2023-10-11 Thread Saleem Abdulrasool via cfe-commits
@@ -53,8 +53,21 @@ template class EHHeaderParser { template bool EHHeaderParser::decodeEHHdr(A &addressSpace, pint_t ehHdrStart, -pint_t ehHdrEnd, EHHeaderInfo &ehHdrInfo) { +size_t ehHdrSize, EHHeaderIn

[libunwind] [libunwind] Avoid reading OOB for non-existent .eh_frame_hdr (PR #68815)

2023-10-11 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd approved this pull request. Thank you! https://github.com/llvm/llvm-project/pull/68815 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] Use XMACROS for MachO platforms. (PR #69262)

2023-10-16 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd approved this pull request. https://github.com/llvm/llvm-project/pull/69262 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 05d613e - [lit][clang] Avoid realpath on Windows due to MAX_PATH limitations

2023-08-01 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2023-08-01T11:00:27-07:00 New Revision: 05d613ea931b6de1b46dfe04b8e55285359047f4 URL: https://github.com/llvm/llvm-project/commit/05d613ea931b6de1b46dfe04b8e55285359047f4 DIFF: https://github.com/llvm/llvm-project/commit/05d613ea931b6de1b46dfe04b8e55285359047f4.

[clang] [APINotes] Remove unused OS-availability feature (PR #65178)

2023-09-01 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd submitted https://github.com/llvm/llvm-project/pull/65178 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [APINotes] Upstream APINotesWriter (PR #65187)

2023-09-01 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd edited https://github.com/llvm/llvm-project/pull/65187 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [APINotes] Upstream APINotesWriter (PR #65187)

2023-09-01 Thread Saleem Abdulrasool via cfe-commits
@@ -749,6 +750,17 @@ struct Context { Context(ContextID id, ContextKind kind) : id(id), kind(kind) {} }; + +/// A temporary reference to an Objective-C selector, suitable for +/// referencing selector data on the stack. +/// +/// Instances of this struct do not store referen

[clang] [APINotes] Upstream APINotesWriter (PR #65187)

2023-09-01 Thread Saleem Abdulrasool via cfe-commits
@@ -33,6 +33,7 @@ class APINotesWriter::Implementation { /// Mapping from strings to identifier IDs. llvm::StringMap IdentifierIDs; +public: compnerd wrote: Why make all this public? https://github.com/llvm/llvm-project/pull/65187 ___

[clang] [APINotes] Upstream APINotesWriter (PR #65187)

2023-09-01 Thread Saleem Abdulrasool via cfe-commits
@@ -19,11 +19,11 @@ namespace clang { namespace api_notes { -class APINotesWriter::Implementation { - template - using VersionedSmallVector = - llvm::SmallVector, 1>; +template +using VersionedSmallVector = +llvm::SmallVector, 1>; compnerd wrote:

[clang] [APINotes] Upstream APINotesWriter (PR #65187)

2023-09-01 Thread Saleem Abdulrasool via cfe-commits
@@ -1200,5 +1235,128 @@ APINotesWriter::~APINotesWriter() = default; void APINotesWriter::writeToStream(llvm::raw_ostream &OS) { Implementation->writeToStream(OS); } + +ContextID APINotesWriter::addObjCContext(std::optional ParentCtxID, +

[clang] [APINotes] Upstream APINotesWriter (PR #65187)

2023-09-01 Thread Saleem Abdulrasool via cfe-commits
@@ -1200,5 +1235,128 @@ APINotesWriter::~APINotesWriter() = default; void APINotesWriter::writeToStream(llvm::raw_ostream &OS) { Implementation->writeToStream(OS); } + +ContextID APINotesWriter::addObjCContext(std::optional ParentCtxID, +

[clang] [APINotes] Upstream APINotesWriter (PR #65187)

2023-09-01 Thread Saleem Abdulrasool via cfe-commits
@@ -1200,5 +1235,128 @@ APINotesWriter::~APINotesWriter() = default; void APINotesWriter::writeToStream(llvm::raw_ostream &OS) { Implementation->writeToStream(OS); } + +ContextID APINotesWriter::addObjCContext(std::optional ParentCtxID, +

[clang] [APINotes] Upstream APINotesWriter (PR #65187)

2023-09-01 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd submitted https://github.com/llvm/llvm-project/pull/65187 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [APINotes] Upstream APINotesWriter (PR #65187)

2023-09-04 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd resolved https://github.com/llvm/llvm-project/pull/65187 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [APINotes] Upstream APINotesWriter (PR #65187)

2023-09-04 Thread Saleem Abdulrasool via cfe-commits
@@ -19,11 +19,11 @@ namespace clang { namespace api_notes { -class APINotesWriter::Implementation { - template - using VersionedSmallVector = - llvm::SmallVector, 1>; +template +using VersionedSmallVector = +llvm::SmallVector, 1>; compnerd wrote:

[clang] [APINotes] Upstream APINotesWriter (PR #65187)

2023-09-04 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd resolved https://github.com/llvm/llvm-project/pull/65187 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [APINotes] Upstream APINotesWriter (PR #65187)

2023-09-04 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd resolved https://github.com/llvm/llvm-project/pull/65187 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [APINotes] Upstream APINotesWriter (PR #65187)

2023-09-04 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd resolved https://github.com/llvm/llvm-project/pull/65187 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [APINotes] Upstream APINotesWriter (PR #65187)

2023-09-04 Thread Saleem Abdulrasool via cfe-commits
@@ -105,6 +110,40 @@ class APINotesWriter::Implementation { llvm::SmallVector, 1>> Typedefs; + /// Retrieve the ID for the given identifier. + IdentifierID getIdentifier(StringRef Identifier) { +if (Identifier.empty()) + return 0; + +auto

[clang] [APINotes] Upstream APINotesWriter (PR #65187)

2023-09-04 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd approved this pull request. Would appreciate the removal of the noted unnecessary braces, but LGTM. https://github.com/llvm/llvm-project/pull/65187 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.o

[clang] [APINotes] Upstream APINotesWriter (PR #65187)

2023-09-04 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd resolved https://github.com/llvm/llvm-project/pull/65187 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [APINotes] Upstream APINotesWriter (PR #65187)

2023-09-04 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd edited https://github.com/llvm/llvm-project/pull/65187 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [APINotes] Upstream APINotesWriter (PR #65187)

2023-09-04 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd resolved https://github.com/llvm/llvm-project/pull/65187 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][AArch64] Define x86_64 macros for ARM64EC targets (PR #65420)

2023-09-05 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd edited https://github.com/llvm/llvm-project/pull/65420 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][AArch64] Define x86_64 macros for ARM64EC targets (PR #65420)

2023-09-05 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd approved this pull request. https://github.com/llvm/llvm-project/pull/65420 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][AArch64] Define x86_64 macros for ARM64EC targets (PR #65420)

2023-09-05 Thread Saleem Abdulrasool via cfe-commits
@@ -131,3 +144,20 @@ // CHECK-ARM64-MINGW: #define _WIN64 1 // CHECK-ARM64-MINGW: #define __GCC_ASM_FLAG_OUTPUTS__ 1 // CHECK-ARM64-MINGW: #define __aarch64__ 1 + +// RUN: %clang_cc1 -triple arm64ec-windows-gnu %s -E -dM -o - \ +// RUN: | FileCheck -match-full-lines %s --chec

[clang] [Clang][AArch64] Define x86_64 macros for ARM64EC targets (PR #65420)

2023-09-05 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd labeled https://github.com/llvm/llvm-project/pull/65420 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][AArch64] Define x86_64 macros for ARM64EC targets (PR #65420)

2023-09-05 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd review_requested https://github.com/llvm/llvm-project/pull/65420 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [APINotes] Support `SwiftImportAs` for C++ structs (PR #65323)

2023-09-06 Thread Saleem Abdulrasool via cfe-commits
https://github.com/compnerd approved this pull request. https://github.com/llvm/llvm-project/pull/65323 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [lit] Are all RUN lines skipped in windows cmd? (PR #65242)

2023-09-06 Thread Saleem Abdulrasool via cfe-commits
compnerd wrote: I think that might be a bit too accelerated. I work mostly with a fork of LLVM (https://github.com/apple/llvm-project) and do care about the usability of `cmd` as a shell. I think that Swift is a large enough consumer of LLVM to consider testing that before declaring this fea

[clang] b78d538 - parse: process GNU and standard attributes on top-level decls

2022-11-21 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2022-11-21T22:34:50Z New Revision: b78d5380da1184a4df0e3c31146bf50c3dadd5e0 URL: https://github.com/llvm/llvm-project/commit/b78d5380da1184a4df0e3c31146bf50c3dadd5e0 DIFF: https://github.com/llvm/llvm-project/commit/b78d5380da1184a4df0e3c31146bf50c3dadd5e0.diff

[libunwind] 6db7a5c - build: explicitly set the linker language for unwind

2019-11-04 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2019-11-04T16:55:31-08:00 New Revision: 6db7a5cd7c800a588e94ce5c1ef24ae4d60ecdd3 URL: https://github.com/llvm/llvm-project/commit/6db7a5cd7c800a588e94ce5c1ef24ae4d60ecdd3 DIFF: https://github.com/llvm/llvm-project/commit/6db7a5cd7c800a588e94ce5c1ef24ae4d60ecdd3.

[libunwind] 049f94a - Revert "build: explicitly set the linker language for unwind"

2019-11-06 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2019-11-06T08:34:13-08:00 New Revision: 049f94af487fc8be704f8740e2d2946ac5c6efc9 URL: https://github.com/llvm/llvm-project/commit/049f94af487fc8be704f8740e2d2946ac5c6efc9 DIFF: https://github.com/llvm/llvm-project/commit/049f94af487fc8be704f8740e2d2946ac5c6efc9.

[libunwind] cbc872a - unwind: disable RTTI during the build of libunwind

2019-11-06 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2019-11-06T10:51:42-08:00 New Revision: cbc872a63f81ad9482bb288165af63d7444fa3ed URL: https://github.com/llvm/llvm-project/commit/cbc872a63f81ad9482bb288165af63d7444fa3ed DIFF: https://github.com/llvm/llvm-project/commit/cbc872a63f81ad9482bb288165af63d7444fa3ed.

[libunwind] aa582e3 - unwind: reflow some of the build rules (NFC)

2019-11-06 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2019-11-06T15:42:09-08:00 New Revision: aa582e3648cc4036aec3b9302ab93bfe9929d19c URL: https://github.com/llvm/llvm-project/commit/aa582e3648cc4036aec3b9302ab93bfe9929d19c DIFF: https://github.com/llvm/llvm-project/commit/aa582e3648cc4036aec3b9302ab93bfe9929d19c.

[libunwind] e74e61f - unwind: restore the LINKER_LANGUAGE

2019-11-06 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2019-11-06T15:42:09-08:00 New Revision: e74e61ff297e81c0a9bda54037033fc40fc76e1d URL: https://github.com/llvm/llvm-project/commit/e74e61ff297e81c0a9bda54037033fc40fc76e1d DIFF: https://github.com/llvm/llvm-project/commit/e74e61ff297e81c0a9bda54037033fc40fc76e1d.

[libunwind] 14798b4 - unwind: rename `__personality_routine` to `_Unwind_Personality_Fn`

2020-02-10 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2020-02-10T08:52:31-08:00 New Revision: 14798b44658c8b30b44afae20d0f391e88eb5bec URL: https://github.com/llvm/llvm-project/commit/14798b44658c8b30b44afae20d0f391e88eb5bec DIFF: https://github.com/llvm/llvm-project/commit/14798b44658c8b30b44afae20d0f391e88eb5bec.

r328007 - Basic: support PreserveMost and PreserveAll on Windows ARM

2018-03-20 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Tue Mar 20 10:33:26 2018 New Revision: 328007 URL: http://llvm.org/viewvc/llvm-project?rev=328007&view=rev Log: Basic: support PreserveMost and PreserveAll on Windows ARM Do not ignore these calling conventions on Windows ARM. They are used by the swift runtime for certain

r329025 - CodeGenCXX: support PreserveMostCC in MS ABI

2018-04-02 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Mon Apr 2 15:25:50 2018 New Revision: 329025 URL: http://llvm.org/viewvc/llvm-project?rev=329025&view=rev Log: CodeGenCXX: support PreserveMostCC in MS ABI Microsoft has reserved 'U' for the PreserveMostCC which is used in the swift runtime. Add support for this. This al

r316599 - CodeGen: fix PPC Darwin variadics

2017-10-25 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Wed Oct 25 10:56:50 2017 New Revision: 316599 URL: http://llvm.org/viewvc/llvm-project?rev=316599&view=rev Log: CodeGen: fix PPC Darwin variadics Darwin uses char * for the variadic list type (va_list). We use the PPC SVR4 ABI for PPC, which uses a structure type for the v

Re: r315126 - Driver: hoist the `wchar_t` handling to the driver

2017-10-25 Thread Saleem Abdulrasool via cfe-commits
Sure, I’ll add a release note. The type for the -fno-short-wchar shouldn’t have changed on ARM. That sounds like a mistake. We could just promote the -fsigned-wchar to a driver level flag. Every target seems to use signed int, not unsigned int for wchar_t. On Wed, Oct 25, 2017 at 1:32 PM Fried

Re: r316046 - Basic: fix __{,U}INTPTR_TYPE__ on ARM

2017-10-25 Thread Saleem Abdulrasool via cfe-commits
On Fri, Oct 20, 2017 at 11:56 AM, Friedman, Eli wrote: > On 10/17/2017 5:00 PM, Saleem Abdulrasool via cfe-commits wrote: > >> Author: compnerd >> Date: Tue Oct 17 17:00:50 2017 >> New Revision: 316046 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=316046&

r316810 - ARM: centralise SizeType, PtrDiffType, and IntPtrType

2017-10-27 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Fri Oct 27 16:04:27 2017 New Revision: 316810 URL: http://llvm.org/viewvc/llvm-project?rev=316810&view=rev Log: ARM: centralise SizeType, PtrDiffType, and IntPtrType Centralise the definitions of these compiler vended types to aid inspection to ensure that they are defined

r316826 - Basic: improve coverage for Darwin targets and fix ABI

2017-10-27 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Fri Oct 27 23:00:43 2017 New Revision: 316826 URL: http://llvm.org/viewvc/llvm-project?rev=316826&view=rev Log: Basic: improve coverage for Darwin targets and fix ABI The existing coverage for the Darwin targets wasn't enough to catch all the variations. Improve the covera

r316858 - Driver: default to `unsigned int` `wchar_t` for ARM

2017-10-28 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Sat Oct 28 23:01:14 2017 New Revision: 316858 URL: http://llvm.org/viewvc/llvm-project?rev=316858&view=rev Log: Driver: default to `unsigned int` `wchar_t` for ARM AAPCS and AAPCS64 mandate that `wchar_t` with `-fno-short-wchar` is an `unsigned int` rather than a `signed in

r317146 - CodeGen: simplify EH personality selection (NFC)

2017-11-01 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Wed Nov 1 17:25:40 2017 New Revision: 317146 URL: http://llvm.org/viewvc/llvm-project?rev=317146&view=rev Log: CodeGen: simplify EH personality selection (NFC) Fix a typo in the comment, reorder to ensure that the ordering matches across the ObjC/ObjC++ cases. NFCI. Modi

r318609 - Driver: remove `SupportsObjCGC` (NFC)

2017-11-18 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Sat Nov 18 16:45:33 2017 New Revision: 318609 URL: http://llvm.org/viewvc/llvm-project?rev=318609&view=rev Log: Driver: remove `SupportsObjCGC` (NFC) This option is not used in the frontend. Remove the method. Modified: cfe/trunk/include/clang/Driver/ToolChain.h c

[clang] 893ce57 - docs: add some documentation on Windows SDK search

2023-03-22 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2023-03-22T09:46:36-04:00 New Revision: 893ce5759fe2e450dc637d4c76e779f883535882 URL: https://github.com/llvm/llvm-project/commit/893ce5759fe2e450dc637d4c76e779f883535882 DIFF: https://github.com/llvm/llvm-project/commit/893ce5759fe2e450dc637d4c76e779f883535882.

[clang] f1440bf - Driver: introduce GNU spellings to control MSVC paths

2023-03-07 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2023-03-07T08:41:35-08:00 New Revision: f1440bf6fd22ca0a5fc3594000e966201989fd48 URL: https://github.com/llvm/llvm-project/commit/f1440bf6fd22ca0a5fc3594000e966201989fd48 DIFF: https://github.com/llvm/llvm-project/commit/f1440bf6fd22ca0a5fc3594000e966201989fd48.

[clang] ce5ad23 - libclang: declare blocks interfaces always

2023-05-10 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2023-05-10T10:00:25-07:00 New Revision: ce5ad23ac29bb70427dd22d9ee480d22e0aa6cf1 URL: https://github.com/llvm/llvm-project/commit/ce5ad23ac29bb70427dd22d9ee480d22e0aa6cf1 DIFF: https://github.com/llvm/llvm-project/commit/ce5ad23ac29bb70427dd22d9ee480d22e0aa6cf1.

[clang] d747f82 - libclang: add missing `struct` in the declaration

2023-05-10 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2023-05-10T10:31:53-07:00 New Revision: d747f8277b386059a74dee062295aa8d864398fc URL: https://github.com/llvm/llvm-project/commit/d747f8277b386059a74dee062295aa8d864398fc DIFF: https://github.com/llvm/llvm-project/commit/d747f8277b386059a74dee062295aa8d864398fc.

[clang] 3b06779 - Headers: use C++ inline semantics in C++ mode

2023-04-20 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2023-04-20T09:02:52-07:00 New Revision: 3b0677964c46f2d98499eb6b177bcbfca704b109 URL: https://github.com/llvm/llvm-project/commit/3b0677964c46f2d98499eb6b177bcbfca704b109 DIFF: https://github.com/llvm/llvm-project/commit/3b0677964c46f2d98499eb6b177bcbfca704b109.

[clang] 707cc06 - Sema: diagnose PMFs passed through registers to inline assembly

2022-12-09 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2022-12-09T16:58:46Z New Revision: 707cc06e1570b5966efcd6a9124191c80fa7a754 URL: https://github.com/llvm/llvm-project/commit/707cc06e1570b5966efcd6a9124191c80fa7a754 DIFF: https://github.com/llvm/llvm-project/commit/707cc06e1570b5966efcd6a9124191c80fa7a754.diff

[clang] e0c3142 - Headers: tweak inclusion condition for stdatomic.h

2022-12-15 Thread Saleem Abdulrasool via cfe-commits
Author: Saleem Abdulrasool Date: 2022-12-15T21:50:28Z New Revision: e0c3142af075e2ef89395dbed5939071345eb622 URL: https://github.com/llvm/llvm-project/commit/e0c3142af075e2ef89395dbed5939071345eb622 DIFF: https://github.com/llvm/llvm-project/commit/e0c3142af075e2ef89395dbed5939071345eb622.diff

r289776 - CodeGen: fix runtime function dll storage

2016-12-14 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Thu Dec 15 00:59:05 2016 New Revision: 289776 URL: http://llvm.org/viewvc/llvm-project?rev=289776&view=rev Log: CodeGen: fix runtime function dll storage Properly attribute DLL storage to runtime functions. When generating the runtime function, scan for an existing declara

r289783 - CodeGen: force builtins to be local

2016-12-14 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Thu Dec 15 01:29:04 2016 New Revision: 289783 URL: http://llvm.org/viewvc/llvm-project?rev=289783&view=rev Log: CodeGen: force builtins to be local Unfortunately _setjmp3 can be both import or local. The ASAN tests try to emulate the flags which makes this harder to detect

r289829 - CodeGen: ubsan is built static on windows, give handlers local storage

2016-12-15 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Thu Dec 15 10:30:20 2016 New Revision: 289829 URL: http://llvm.org/viewvc/llvm-project?rev=289829&view=rev Log: CodeGen: ubsan is built static on windows, give handlers local storage The UBSAN runtime is built static on Windows. This requires that we give local storage alw

r290303 - Driver: rename parameter to reduce confusion

2016-12-21 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Wed Dec 21 21:09:00 2016 New Revision: 290303 URL: http://llvm.org/viewvc/llvm-project?rev=290303&view=rev Log: Driver: rename parameter to reduce confusion The parameter to ParsePICOpts passed the effective triple and then used that in a few places and used the actual trip

r290304 - Driver: remove unnecessary parameter

2016-12-21 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Wed Dec 21 21:09:02 2016 New Revision: 290304 URL: http://llvm.org/viewvc/llvm-project?rev=290304&view=rev Log: Driver: remove unnecessary parameter We can query the Triple and EffectiveTriple from the ToolChain. Avoid passing in the argument and query it in the function.

r290305 - Driver: use the triple to query the arch, not the toolchain

2016-12-21 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Wed Dec 21 21:09:04 2016 New Revision: 290305 URL: http://llvm.org/viewvc/llvm-project?rev=290305&view=rev Log: Driver: use the triple to query the arch, not the toolchain Although the result is the same, the intent is much more clear this way: we care about the architectur

r290315 - Sema: print qualified name for overload candidates

2016-12-21 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Wed Dec 21 22:26:57 2016 New Revision: 290315 URL: http://llvm.org/viewvc/llvm-project?rev=290315&view=rev Log: Sema: print qualified name for overload candidates Print the fully qualified names for the overload candidates. This makes it easier to tell what the ambiguity i

r290533 - Driver: warn on -fPIC/-fpic/-fPIE/-fpie on Windows

2016-12-25 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Sun Dec 25 21:35:24 2016 New Revision: 290533 URL: http://llvm.org/viewvc/llvm-project?rev=290533&view=rev Log: Driver: warn on -fPIC/-fpic/-fPIE/-fpie on Windows Use of these flags would result in the use of ELF-style PIE/PIC code which is incorrect on Windows. Windows is

r290534 - test: add explicit triples to the invocation

2016-12-25 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Sun Dec 25 22:00:54 2016 New Revision: 290534 URL: http://llvm.org/viewvc/llvm-project?rev=290534&view=rev Log: test: add explicit triples to the invocation Modified: cfe/trunk/test/Driver/integrated-as.s Modified: cfe/trunk/test/Driver/integrated-as.s URL: http://llv

r290569 - Driver: switch Windows to static RelocModel

2016-12-26 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Mon Dec 26 20:20:35 2016 New Revision: 290569 URL: http://llvm.org/viewvc/llvm-project?rev=290569&view=rev Log: Driver: switch Windows to static RelocModel Windows uses PE/COFF which is inherently position independent. The use of the PIC model is unnecessary. In fact, we

Re: r290533 - Driver: warn on -fPIC/-fpic/-fPIE/-fpie on Windows

2016-12-26 Thread Saleem Abdulrasool via cfe-commits
On Mon, Dec 26, 2016 at 6:22 PM, Vitaly Buka wrote: > This fails here http://lab.llvm.org:8011/builders/sanitizer-windows/ > builds/3537/steps/run%20tests/logs/stdio > Thanks for letting me know. Should be addressed in SVN r290571. > > On Sun, Dec 25, 2016 at 7:45 PM Saleem

Re: r290533 - Driver: warn on -fPIC/-fpic/-fPIE/-fpie on Windows

2016-12-27 Thread Saleem Abdulrasool via cfe-commits
Id really rather not change the behavior. We would generate ELF style PIC, which obviously doesn't work. On Tue, Dec 27, 2016 at 10:09 AM, Joerg Sonnenberger via cfe-commits < cfe-commits@lists.llvm.org> wrote: > On Mon, Dec 26, 2016 at 03:35:25AM -, Saleem Abdulrasool via

r290762 - CodeGen: use a StringSwitch instead of cascasding ifs

2016-12-30 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Fri Dec 30 12:45:03 2016 New Revision: 290762 URL: http://llvm.org/viewvc/llvm-project?rev=290762&view=rev Log: CodeGen: use a StringSwitch instead of cascasding ifs Change the cascading ifs to a StringSwitch to simplify the conversion of the relocation model. NFC Modifie

<    1   2   3   4   5   6   7   8   9   10   >