[llvm-branch-commits] [clang] [Clang] Disable use of the counted_by attribute for whole struct pointers (#112636) (PR #112786)

2024-10-17 Thread Bill Wendling via llvm-branch-commits
https://github.com/bwendling edited https://github.com/llvm/llvm-project/pull/112786 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [Clang] Disable use of the counted_by attribute for whole struct pointers (#112636) (PR #112786)

2024-10-17 Thread Bill Wendling via llvm-branch-commits
https://github.com/bwendling created https://github.com/llvm/llvm-project/pull/112786 The whole struct is specificed in the __bdos. The calculation of the whole size of the structure can be done in two ways: 1) sizeof(struct S) + count * sizeof(typeof(fam)) 2) offsetof(struct S, fam) +

[llvm-branch-commits] [clang] [Clang] Disable use of the counted_by attribute for whole struct pointers (#112636) (PR #112786)

2024-10-17 Thread Bill Wendling via llvm-branch-commits
https://github.com/bwendling milestoned https://github.com/llvm/llvm-project/pull/112786 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [Clang] Fix 'counted_by' for nested struct pointers (#110497) (PR #111445)

2024-10-07 Thread Bill Wendling via llvm-branch-commits
https://github.com/bwendling updated https://github.com/llvm/llvm-project/pull/111445 >From f414a24fd7ad173793f920157bfa95985a09a946 Mon Sep 17 00:00:00 2001 From: Jan Hendrik Farr Date: Thu, 3 Oct 2024 07:16:21 +0200 Subject: [PATCH 1/2] [Clang] Fix 'counted_by' for nested struct pointers (#1

[llvm-branch-commits] [clang] [Clang] Fix 'counted_by' for nested struct pointers (#110497) (PR #111445)

2024-10-07 Thread Bill Wendling via llvm-branch-commits
https://github.com/bwendling edited https://github.com/llvm/llvm-project/pull/111445 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [Clang] Fix 'counted_by' for nested struct pointers (#110497) (PR #111445)

2024-10-07 Thread Bill Wendling via llvm-branch-commits
https://github.com/bwendling milestoned https://github.com/llvm/llvm-project/pull/111445 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [Clang] Fix 'counted_by' for nested struct pointers (#110497) (PR #111445)

2024-10-07 Thread Bill Wendling via llvm-branch-commits
https://github.com/bwendling created https://github.com/llvm/llvm-project/pull/111445 /cherry-pick >From f414a24fd7ad173793f920157bfa95985a09a946 Mon Sep 17 00:00:00 2001 From: Jan Hendrik Farr Date: Thu, 3 Oct 2024 07:16:21 +0200 Subject: [PATCH] [Clang] Fix 'counted_by' for nested struct poi

[llvm-branch-commits] [clang] [Clang] Handle structs with inner structs and no fields (#89126) (PR #90133)

2024-05-01 Thread Bill Wendling via llvm-branch-commits
bwendling wrote: Fixed an issue with the counted_by attribute on a flexible array member in an inner struct. https://github.com/llvm/llvm-project/pull/90133 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org

[llvm-branch-commits] [clang] [Clang] Handle structs with inner structs and no fields (#89126) (PR #90133)

2024-04-25 Thread Bill Wendling via llvm-branch-commits
bwendling wrote: Okay...I think this works now? https://github.com/llvm/llvm-project/pull/90133 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [Clang] Handle structs with inner structs and no fields (#89126) (PR #90133)

2024-04-25 Thread Bill Wendling via llvm-branch-commits
https://github.com/bwendling milestoned https://github.com/llvm/llvm-project/pull/90133 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [Clang] Handle structs with inner structs and no fields (#89126) (PR #90133)

2024-04-25 Thread Bill Wendling via llvm-branch-commits
https://github.com/bwendling created https://github.com/llvm/llvm-project/pull/90133 A struct that declares an inner struct, but no fields, won't have a field count. So getting the offset of the inner struct fails. This happens in both C and C++: struct foo { struct bar { int Quan

[llvm-branch-commits] [clang] release/18.x: [Clang] Handle structs with inner structs and no fields (#89126) (PR #89456)

2024-04-25 Thread Bill Wendling via llvm-branch-commits
bwendling wrote: @tstellar The output is definitely different. It needs 90ba33099cbb17e7c159e9ebc5a512037db99d6d, which looks to be only in `main`. I can generate a patch, since porting that change will probably be onerous. How do I do that for the 18.X branch? https://github.com/llvm/llvm-pr

[llvm-branch-commits] [compiler-rt] [llvm] [NFC] (PR #80762)

2024-02-05 Thread Bill Wendling via llvm-branch-commits
bwendling wrote: Please add a title and description. https://github.com/llvm/llvm-project/pull/80762 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] 14d4cdd - [X86] Don't zero out %eax if both %al and %ah are used

2022-12-13 Thread Bill Wendling via llvm-branch-commits
Author: Bill Wendling Date: 2022-12-13T15:06:53-08:00 New Revision: 14d4cddc5506fb0fd3c4ac556b4edd970aa151eb URL: https://github.com/llvm/llvm-project/commit/14d4cddc5506fb0fd3c4ac556b4edd970aa151eb DIFF: https://github.com/llvm/llvm-project/commit/14d4cddc5506fb0fd3c4ac556b4edd970aa151eb.diff

[llvm-branch-commits] [llvm] d497129 - [AArch64] Use proper instruction mnemonics for FPRs

2022-05-20 Thread Bill Wendling via llvm-branch-commits
Author: Bill Wendling Date: 2022-05-20T12:02:26-07:00 New Revision: d497129f9bfaeff9fd2a57d75186ef0966758ca4 URL: https://github.com/llvm/llvm-project/commit/d497129f9bfaeff9fd2a57d75186ef0966758ca4 DIFF: https://github.com/llvm/llvm-project/commit/d497129f9bfaeff9fd2a57d75186ef0966758ca4.diff

[llvm-branch-commits] [clang] d37c5ce - [randstruct] Add randomize structure layout support

2022-04-08 Thread Bill Wendling via llvm-branch-commits
Author: Connor Kuehl Date: 2022-04-08T12:44:15-07:00 New Revision: d37c5cea2f9829bbbd8e9e6a78539e84e5cc725b URL: https://github.com/llvm/llvm-project/commit/d37c5cea2f9829bbbd8e9e6a78539e84e5cc725b DIFF: https://github.com/llvm/llvm-project/commit/d37c5cea2f9829bbbd8e9e6a78539e84e5cc725b.diff

[llvm-branch-commits] [llvm] e222953 - [X86] Add segment and address-size override prefixes

2021-01-20 Thread Bill Wendling via llvm-branch-commits
Author: Bill Wendling Date: 2021-01-19T23:54:31-08:00 New Revision: e22295385c7fb1104620a497da8eab935768fd78 URL: https://github.com/llvm/llvm-project/commit/e22295385c7fb1104620a497da8eab935768fd78 DIFF: https://github.com/llvm/llvm-project/commit/e22295385c7fb1104620a497da8eab935768fd78.diff