[all-commits] [llvm/llvm-project] 299324: Fix misdiagnosed writability for __attribute__((se...

David Blaikie via All-commits all-commits at lists.llvm.org
Wed Aug 16 22:35:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2993243c45abdb4f2bc3979336d054be165b1134
      https://github.com/llvm/llvm-project/commit/2993243c45abdb4f2bc3979336d054be165b1134
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2023-08-17 (Thu, 17 Aug 2023)

  Changed paths:
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/Sema/attr-section.c

  Log Message:
  -----------
  Fix misdiagnosed writability for __attribute__((section()))

This didn't actually misclassify the resulting IR variable, but caused a
false-positive error about mismatched section flags.

Follow-up to D156726, issue identified by @eddyz87, thanks!




More information about the All-commits mailing list