[clang] Revert "[Fix] Disable fdefine-target-os-macros for now" (PR #78353)

2024-01-16 Thread Juergen Ributzka via cfe-commits
https://github.com/ributzka approved this pull request. https://github.com/llvm/llvm-project/pull/78353 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [lldb] [flang] [clang] Split out DebugOptions.def into its own top-level options group. (PR #75530)

2024-01-17 Thread Juergen Ributzka via cfe-commits
ributzka wrote: @jansvoboda11 gentle ping https://github.com/llvm/llvm-project/pull/75530 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][modules] Fix CodeGen options that can affect the AST. (PR #78816)

2024-01-19 Thread Juergen Ributzka via cfe-commits
https://github.com/ributzka created https://github.com/llvm/llvm-project/pull/78816 `OptimizationLevel` and `OptimizeSize` can affect the generated AST. They indirectly affect the `Optimize` and `OptimizeSize` frontend options, which in turn set predefined macro definitions. This fixes rdar://1

[clang] [clang][modules] Fix CodeGen options that can affect the AST. (PR #78816)

2024-01-19 Thread Juergen Ributzka via cfe-commits
https://github.com/ributzka updated https://github.com/llvm/llvm-project/pull/78816 >From ba6eac97038a8fbd24d288ffa88a4dcf508e66b8 Mon Sep 17 00:00:00 2001 From: Juergen Ributzka Date: Fri, 19 Jan 2024 16:10:03 -0800 Subject: [PATCH 1/2] [clang][modules] Fix CodeGen options that can affect the

[clang] [clang][modules] Fix CodeGen options that can affect the AST. (PR #78816)

2024-01-22 Thread Juergen Ributzka via cfe-commits
ributzka wrote: > LGTM, although are we sure none of the other options should be affecting? I > just did a quick search and it seems like this is it. > > I don't think it matters here, but the actual option that controls the macro > is on `LangOptions` and where it's set has a "FIXME: Eliminat

[clang] [clang][modules] Fix CodeGen options that can affect the AST. (PR #78816)

2024-01-22 Thread Juergen Ributzka via cfe-commits
https://github.com/ributzka updated https://github.com/llvm/llvm-project/pull/78816 >From 968941561e08424ecb4fb15615ee46fe8356405e Mon Sep 17 00:00:00 2001 From: Juergen Ributzka Date: Fri, 19 Jan 2024 16:10:03 -0800 Subject: [PATCH 1/2] [clang][modules] Fix CodeGen options that can affect the

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

2023-10-19 Thread Juergen Ributzka via cfe-commits
https://github.com/ributzka updated https://github.com/llvm/llvm-project/pull/69262 >From d6a4d1cc70e7d3a13b94ff397bef8a0a75e21257 Mon Sep 17 00:00:00 2001 From: Juergen Ributzka Date: Mon, 28 Aug 2023 15:25:48 -0700 Subject: [PATCH 1/3] [llvm] Use XMACROS for MachO platforms. This change adds

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

2023-10-19 Thread Juergen Ributzka via cfe-commits
ributzka wrote: Unrelated build issue on windows: C:\ws\src\mlir\include\mlir/IR/BuiltinTypeInterfaces.h(14): fatal error C1083: Cannot open include file: 'mlir/IR/BuiltinTypeInterfaces.h.inc': No such file or directory https://github.com/llvm/llvm-project/pull/69262 __

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

2023-10-19 Thread Juergen Ributzka via cfe-commits
https://github.com/ributzka updated https://github.com/llvm/llvm-project/pull/69262 >From ceaf58ba2f752b8a5353568013ff18603b0e615b Mon Sep 17 00:00:00 2001 From: Juergen Ributzka Date: Mon, 28 Aug 2023 15:25:48 -0700 Subject: [PATCH] [llvm] Use XMACROS for MachO platforms. This change adds the

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

2023-10-20 Thread Juergen Ributzka via cfe-commits
ributzka wrote: Thanks for the reviews. Checks are good now too after rebase. 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] [llvm] Use XMACROS for MachO platforms. (PR #69262)

2023-10-20 Thread Juergen Ributzka via cfe-commits
https://github.com/ributzka closed 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

Re: r310436 - [AST] Move visibility computations into a class; NFC

2017-08-09 Thread Juergen Ributzka via cfe-commits
This seems to cause UBSAN issues: runtime error: load of value 4294967295, which is not a valid value for type 'clang::LVComputationKind' See ASAN+UBSAN bot on Green Dragon: http://lab.llvm.org:8080/green/job/clang-stage2-cmake-RgSan_check/4065/console On Tue, Aug 8, 2017 at 9:02 PM, George Burg

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

2023-10-16 Thread Juergen Ributzka via cfe-commits
https://github.com/ributzka created https://github.com/llvm/llvm-project/pull/69262 This change adds the PLATFORM XMACRO to simplify the addition of new MachO platforms and reduce the number of required changes. Many of the changes needed for adding a new platform are mechanical, such as adding

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

2023-10-16 Thread Juergen Ributzka via cfe-commits
https://github.com/ributzka updated https://github.com/llvm/llvm-project/pull/69262 >From d6a4d1cc70e7d3a13b94ff397bef8a0a75e21257 Mon Sep 17 00:00:00 2001 From: Juergen Ributzka Date: Mon, 28 Aug 2023 15:25:48 -0700 Subject: [PATCH 1/2] [llvm] Use XMACROS for MachO platforms. This change adds

[clang] 29e2a4e - [clang] Unconditionally add autolink hints for frameworks.

2023-03-16 Thread Juergen Ributzka via cfe-commits
Author: Juergen Ributzka Date: 2023-03-16T15:31:17-07:00 New Revision: 29e2a4eff8f62d12754f31f90d70e9a346bc2075 URL: https://github.com/llvm/llvm-project/commit/29e2a4eff8f62d12754f31f90d70e9a346bc2075 DIFF: https://github.com/llvm/llvm-project/commit/29e2a4eff8f62d12754f31f90d70e9a346bc2075.di

r297759 - Add more debugging code for the SystemZ bot.

2017-03-14 Thread Juergen Ributzka via cfe-commits
Author: ributzka Date: Tue Mar 14 12:46:26 2017 New Revision: 297759 URL: http://llvm.org/viewvc/llvm-project?rev=297759&view=rev Log: Add more debugging code for the SystemZ bot. Modified: cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp Modified: cfe/trunk/unittests/Basic/VirtualFileSys

r298965 - Revert "clangToolingRefactor: Add libdeps upon clangFormat in r298913."

2017-03-28 Thread Juergen Ributzka via cfe-commits
Author: ributzka Date: Tue Mar 28 19:24:32 2017 New Revision: 298965 URL: http://llvm.org/viewvc/llvm-project?rev=298965&view=rev Log: Revert "clangToolingRefactor: Add libdeps upon clangFormat in r298913." Modified: cfe/trunk/lib/Tooling/Refactoring/CMakeLists.txt Modified: cfe/trunk/lib/To

r298966 - Revert "Try to unbreak buildbots after r298913."

2017-03-28 Thread Juergen Ributzka via cfe-commits
Author: ributzka Date: Tue Mar 28 19:24:34 2017 New Revision: 298966 URL: http://llvm.org/viewvc/llvm-project?rev=298966&view=rev Log: Revert "Try to unbreak buildbots after r298913." Modified: cfe/trunk/unittests/Tooling/RefactoringTest.cpp Modified: cfe/trunk/unittests/Tooling/RefactoringT

r298967 - Revert "Added `applyAtomicChanges` function."

2017-03-28 Thread Juergen Ributzka via cfe-commits
Author: ributzka Date: Tue Mar 28 19:24:36 2017 New Revision: 298967 URL: http://llvm.org/viewvc/llvm-project?rev=298967&view=rev Log: Revert "Added `applyAtomicChanges` function." This broke GreenDragon: http://lab.llvm.org:8080/green/job/clang-stage2-cmake-modulesRDA_build/4776/ Reverting this

Re: r298913 - Added `applyAtomicChanges` function.

2017-03-28 Thread Juergen Ributzka via cfe-commits
I reverted the commit in r298967. Please fix the cyclic dependency issue found here: http://lab.llvm.org:8080/green/job/clang-stage2-cmake-modulesRDA_build/4776/ Cheers, Juergen On Tue, Mar 28, 2017 at 6:05 AM, Eric Liu via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: ioeric > Date

Re: r298913 - Added `applyAtomicChanges` function.

2017-03-30 Thread Juergen Ributzka via cfe-commits
[+ Adrian] Adrian knows more about the bot setup. On Wed, Mar 29, 2017 at 8:04 AM, Eric Liu wrote: > Hi Juergen, thanks for taking care of this, but I'm wondering if this > build bot is using a different set of build rules? The error message says > "Clang_Tooling > -> Clang_Format -> Clang_Too

r297511 - [VFS] Remove the Path variable from RealFSDirIter. NFC.

2017-03-10 Thread Juergen Ributzka via cfe-commits
Author: ributzka Date: Fri Mar 10 15:23:29 2017 New Revision: 297511 URL: http://llvm.org/viewvc/llvm-project?rev=297511&view=rev Log: [VFS] Remove the Path variable from RealFSDirIter. NFC. This variable is set, but never used. Modified: cfe/trunk/lib/Basic/VirtualFileSystem.cpp Modified:

r297510 - [VFS] Ignore broken symlinks in the directory iterator.

2017-03-10 Thread Juergen Ributzka via cfe-commits
Author: ributzka Date: Fri Mar 10 15:23:27 2017 New Revision: 297510 URL: http://llvm.org/viewvc/llvm-project?rev=297510&view=rev Log: [VFS] Ignore broken symlinks in the directory iterator. The VFS directory iterator and recursive directory iterator behave differently from the LLVM counterparts.

r297517 - Revert r297510 "[VFS] Ignore broken symlinks in the directory iterator."

2017-03-10 Thread Juergen Ributzka via cfe-commits
Author: ributzka Date: Fri Mar 10 15:46:51 2017 New Revision: 297517 URL: http://llvm.org/viewvc/llvm-project?rev=297517&view=rev Log: Revert r297510 "[VFS] Ignore broken symlinks in the directory iterator." The tests are failing on one of the bots. Modified: cfe/trunk/include/clang/Basic/Vi

r297528 - Reapply [VFS] Ignore broken symlinks in the directory iterator.

2017-03-10 Thread Juergen Ributzka via cfe-commits
Author: ributzka Date: Fri Mar 10 16:49:04 2017 New Revision: 297528 URL: http://llvm.org/viewvc/llvm-project?rev=297528&view=rev Log: Reapply [VFS] Ignore broken symlinks in the directory iterator. Modified the tests to accept any iteration order. The VFS directory iterator and recursive direct

r297531 - Adding debug output to investigate systemz bot issue.

2017-03-10 Thread Juergen Ributzka via cfe-commits
Author: ributzka Date: Fri Mar 10 18:01:24 2017 New Revision: 297531 URL: http://llvm.org/viewvc/llvm-project?rev=297531&view=rev Log: Adding debug output to investigate systemz bot issue. Modified: cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp Modified: cfe/trunk/unittests/Basic/Virtu

r297533 - Revert "Reapply [VFS] Ignore broken symlinks in the directory iterator."

2017-03-10 Thread Juergen Ributzka via cfe-commits
Author: ributzka Date: Fri Mar 10 18:14:50 2017 New Revision: 297533 URL: http://llvm.org/viewvc/llvm-project?rev=297533&view=rev Log: Revert "Reapply [VFS] Ignore broken symlinks in the directory iterator." Still broken on Windows and SystemZ bot ... sorry for the noise. Modified: cfe/trunk

r297693 - Reapply [VFS] Ignore broken symlinks in the directory iterator.

2017-03-13 Thread Juergen Ributzka via cfe-commits
Author: ributzka Date: Mon Mar 13 19:14:40 2017 New Revision: 297693 URL: http://llvm.org/viewvc/llvm-project?rev=297693&view=rev Log: Reapply [VFS] Ignore broken symlinks in the directory iterator. Modified the tests to accept any iteration order, to run only on Unix, and added additional error

Re: r302932 - [modules] Simplify module macro handling in non-local-submodule-visibility mode.

2017-05-12 Thread Juergen Ributzka via cfe-commits
Hi Richard, I think this broke modules. If I try to compile a simple test program (@import Foundation;) I get the following error: ./bin/clang test.m -fmodules -c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk While building module 'F

r253060 - Fix auto-link for text-based dynamic library SDKs.

2015-11-13 Thread Juergen Ributzka via cfe-commits
Author: ributzka Date: Fri Nov 13 13:08:07 2015 New Revision: 253060 URL: http://llvm.org/viewvc/llvm-project?rev=253060&view=rev Log: Fix auto-link for text-based dynamic library SDKs. When linking against text-based dynamic library SDKs the library name of a framework has now more than one poss

[clang] [clang][InstallAPI] Add input file support to library (PR #81701)

2024-02-14 Thread Juergen Ributzka via cfe-commits
@@ -0,0 +1,53 @@ +//===- InstallAPI/FileList.h *- 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: Apa

[clang] [clang][InstallAPI] Add input file support to library (PR #81701)

2024-02-14 Thread Juergen Ributzka via cfe-commits
@@ -0,0 +1,53 @@ +//===- InstallAPI/FileList.h *- 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: Apa

[clang] [clang][InstallAPI] Add input file support to library (PR #81701)

2024-02-14 Thread Juergen Ributzka via cfe-commits
https://github.com/ributzka approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/81701 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Move `AvailabilityInfo` into AST library (PR #81897)

2024-02-15 Thread Juergen Ributzka via cfe-commits
@@ -57,6 +58,57 @@ class AvailabilitySpec { bool isOtherPlatformSpec() const { return Version.empty(); } }; +class Decl; + +/// Storage of availability attributes for a declaration. +struct AvailabilityInfo { + /// The domain is the platform for which this availability info

[clang] [clang] Move `AvailabilityInfo` into AST library (PR #81897)

2024-02-15 Thread Juergen Ributzka via cfe-commits
https://github.com/ributzka approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/81897 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [InstallAPI] Set InstallAPI as a standalone tool instead of CC1 action (PR #82293)

2024-02-20 Thread Juergen Ributzka via cfe-commits
@@ -35,19 +36,19 @@ struct InstallAPIContext { /// Active target triple to parse. llvm::Triple TargetTriple{}; - /// Output stream to write TextAPI file to. - std::unique_ptr OS = nullptr; - - /// DiagnosticsEngine to report errors. - llvm::IntrusiveRefCntPtr Diags = n

[clang] [InstallAPI] Set InstallAPI as a standalone tool instead of CC1 action (PR #82293)

2024-02-20 Thread Juergen Ributzka via cfe-commits
@@ -0,0 +1,125 @@ +#include "Options.h" ributzka wrote: The license header is missing. https://github.com/llvm/llvm-project/pull/82293 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-

[clang] [InstallAPI] Set InstallAPI as a standalone tool instead of CC1 action (PR #82293)

2024-02-20 Thread Juergen Ributzka via cfe-commits
@@ -0,0 +1,106 @@ +#include "Options.h" ributzka wrote: Please add the license/file header. https://github.com/llvm/llvm-project/pull/82293 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org

[clang] [InstallAPI] Set InstallAPI as a standalone tool instead of CC1 action (PR #82293)

2024-02-21 Thread Juergen Ributzka via cfe-commits
https://github.com/ributzka approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/82293 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [InstallAPI] Hookup Input files & basic ASTVisitor (PR #82552)

2024-02-21 Thread Juergen Ributzka via cfe-commits
@@ -24,8 +27,23 @@ struct InstallAPIContext { /// Library attributes that are typically passed as linker inputs. llvm::MachO::RecordsSlice::BinaryAttrs BA; - /// Active target triple to parse. - llvm::Triple TargetTriple{}; + /// All headers that represent library.

[clang] [InstallAPI] Hookup Input files & basic ASTVisitor (PR #82552)

2024-02-21 Thread Juergen Ributzka via cfe-commits
@@ -24,8 +27,23 @@ struct InstallAPIContext { /// Library attributes that are typically passed as linker inputs. llvm::MachO::RecordsSlice::BinaryAttrs BA; - /// Active target triple to parse. - llvm::Triple TargetTriple{}; + /// All headers that represent library. + H

[clang] [InstallAPI] Handle zippered frameworks (PR #88205)

2024-04-10 Thread Juergen Ributzka via cfe-commits
@@ -588,13 +622,58 @@ void DylibVerifier::visitSymbolInDylib(const Record &R, SymbolContext &SymCtx) { } } + const bool IsLinkerSymbol = SymbolName.starts_with("$ld$"); + + if (R.isVerified()) { +// Check for unavailable symbols. +// This should only occur in

[clang] [InstallAPI] Handle zippered frameworks (PR #88205)

2024-04-10 Thread Juergen Ributzka via cfe-commits
@@ -588,13 +622,58 @@ void DylibVerifier::visitSymbolInDylib(const Record &R, SymbolContext &SymCtx) { } } + const bool IsLinkerSymbol = SymbolName.starts_with("$ld$"); + + if (R.isVerified()) { +// Check for unavailable symbols. +// This should only occur in

[clang] [InstallAPI] Handle zippered frameworks (PR #88205)

2024-04-11 Thread Juergen Ributzka via cfe-commits
https://github.com/ributzka approved this pull request. https://github.com/llvm/llvm-project/pull/88205 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [modules] allow use of ptrauth module from no_undeclared_includes system modules (PR #88432)

2024-04-12 Thread Juergen Ributzka via cfe-commits
https://github.com/ributzka approved this pull request. https://github.com/llvm/llvm-project/pull/88432 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [InstallAPI] Pick up input headers by directory traversal (PR #94508)

2024-06-08 Thread Juergen Ributzka via cfe-commits
@@ -97,6 +97,14 @@ class HeaderFile { Other.Excluded, Other.Extra, Other.Umbrella); } + + bool operator<(const HeaderFile &Other) const { ributzka wrote: Including the umbre

[clang] [llvm] [InstallAPI] Add support for aliased exports (PR #88750)

2024-04-15 Thread Juergen Ributzka via cfe-commits
@@ -973,5 +978,24 @@ bool DylibVerifier::verifyBinaryAttrs(const ArrayRef ProvidedTargets, return true; } +std::unique_ptr DylibVerifier::getExports() { + for (const auto &[Alias, Base] : Aliases) { ributzka wrote: This loop runs every time someone calls

[clang] [llvm] [InstallAPI] Add support for aliased exports (PR #88750)

2024-04-15 Thread Juergen Ributzka via cfe-commits
@@ -107,6 +107,9 @@ struct LinkerOptions { /// \brief Additional library search paths. PathSeq LibPaths; + /// \brief List of aliased symbol exports. ributzka wrote: ```suggestion /// \brief List of alias symbol files. ``` https://github.com/llvm/llvm

[clang] [llvm] [InstallAPI] Add support for aliased exports (PR #88750)

2024-04-15 Thread Juergen Ributzka via cfe-commits
@@ -973,5 +978,24 @@ bool DylibVerifier::verifyBinaryAttrs(const ArrayRef ProvidedTargets, return true; } +std::unique_ptr DylibVerifier::getExports() { + for (const auto &[Alias, Base] : Aliases) { ributzka wrote: In that case I would update the function

[clang] [llvm] [Clang][Darwin] Introduce `SubFrameworks` as a SDK default location (PR #115048)

2024-11-08 Thread Juergen Ributzka via cfe-commits
@@ -255,16 +255,21 @@ static void stubifyDirectory(const StringRef InputPath, Context &Ctx) { if (EC) reportError(IT->path() + ": " + EC.message()); -// Skip header directories (include/Headers/PrivateHeaders) and module ributzka wrote: How is

[clang] [llvm] [Clang][Darwin] Introduce `SubFrameworks` as a SDK default location (PR #115048)

2024-11-08 Thread Juergen Ributzka via cfe-commits
@@ -347,6 +347,7 @@ void InitHeaderSearch::AddDefaultIncludePaths( } else { AddPath("/System/Library/Frameworks", System, true); AddPath("/Library/Frameworks", System, true); +AddPath("/System/Library/SubFrameworks", System, true);

[clang] [llvm] [Clang][Darwin] Introduce `SubFrameworks` as a SDK default location (PR #115048)

2024-11-08 Thread Juergen Ributzka via cfe-commits
@@ -347,6 +347,7 @@ void InitHeaderSearch::AddDefaultIncludePaths( } else { AddPath("/System/Library/Frameworks", System, true); AddPath("/Library/Frameworks", System, true); +AddPath("/System/Library/SubFrameworks", System, true);

[clang] [llvm] [Clang][Darwin] Introduce `SubFrameworks` as a SDK default location (PR #115048)

2024-11-14 Thread Juergen Ributzka via cfe-commits
https://github.com/ributzka approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/115048 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

<    1   2