[all-commits] [llvm/llvm-project] 7fc50e: clang: Fix parsing of seh exception model (#146643)

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Wed Jul 2 17:11:49 PDT 2025


  Branch: refs/heads/users/kparzysz/spr/d01-name-parser
  Home:   https://github.com/llvm/llvm-project
  Commit: 7fc50e92a59c764eb6b1897fcdd506aacb92629c
      https://github.com/llvm/llvm-project/commit/7fc50e92a59c764eb6b1897fcdd506aacb92629c
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M clang/lib/Frontend/CompilerInvocation.cpp
    A clang/test/Modules/mingw-exceptions.cppm

  Log Message:
  -----------
  clang: Fix parsing of seh exception model (#146643)

Fixes regression reported
https://github.com/llvm/llvm-project/pull/146342#issuecomment-3026600152

The test could probably be better. I'm not sure what special is
happening with the module
compile, but I can't seem to reproduce this with just a plain -cc1 run.


  Commit: 27257654324631a495f718e50c8e5a4530ea2e8f
      https://github.com/llvm/llvm-project/commit/27257654324631a495f718e50c8e5a4530ea2e8f
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M llvm/include/llvm/ADT/ArrayRef.h
    M llvm/unittests/ADT/ArrayRefTest.cpp

  Log Message:
  -----------
  [LLVM][ADT] Add `consume_front` and `consume_back` to ArrayRef (#146741)

Add `consume_front` that returns the first element and drops it from the
current ArrayRef, and `consume_back` that returns the last element and
drops it from the current ArrayRef.


  Commit: 497060fae5c3a93978306eb565e8d0ebc116f6c7
      https://github.com/llvm/llvm-project/commit/497060fae5c3a93978306eb565e8d0ebc116f6c7
  Author: SingleAccretion <62474226+SingleAccretion at users.noreply.github.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    R lld/test/wasm/compress-relocs.ll
    A lld/test/wasm/compress-relocs.s
    A lld/test/wasm/compress-relocs64.s
    M lld/wasm/InputChunks.cpp
    M llvm/include/llvm/BinaryFormat/Wasm.h

  Log Message:
  -----------
  [lld][WebAssembly] Add missing relocation types to the --compress-relocations path (#144578)

Fixes https://github.com/llvm/llvm-project/issues/110045.

Reloc list reference:
```
+ Already handled
A Added in this change
= Not applicable / expected (though technically legal, e. g. you can relocate v128.const...)

+ R_WASM_FUNCTION_INDEX_LEB,      0
+ R_WASM_TABLE_INDEX_SLEB,        1
= R_WASM_TABLE_INDEX_I32,         2
+ R_WASM_MEMORY_ADDR_LEB,         3
+ R_WASM_MEMORY_ADDR_SLEB,        4
= R_WASM_MEMORY_ADDR_I32,         5
+ R_WASM_TYPE_INDEX_LEB,          6
+ R_WASM_GLOBAL_INDEX_LEB,        7
= R_WASM_FUNCTION_OFFSET_I32,     8
= R_WASM_SECTION_OFFSET_I32,      9
+ R_WASM_TAG_INDEX_LEB,          10
A R_WASM_MEMORY_ADDR_REL_SLEB,   11
A R_WASM_TABLE_INDEX_REL_SLEB,   12
= R_WASM_GLOBAL_INDEX_I32,       13
+ R_WASM_MEMORY_ADDR_LEB64,      14
+ R_WASM_MEMORY_ADDR_SLEB64,     15
= R_WASM_MEMORY_ADDR_I64,        16
A R_WASM_MEMORY_ADDR_REL_SLEB64, 17
+ R_WASM_TABLE_INDEX_SLEB64,     18
= R_WASM_TABLE_INDEX_I64,        19
+ R_WASM_TABLE_NUMBER_LEB,       20
A R_WASM_MEMORY_ADDR_TLS_SLEB,   21
= R_WASM_FUNCTION_OFFSET_I64,    22
= R_WASM_MEMORY_ADDR_LOCREL_I32, 23
A R_WASM_TABLE_INDEX_REL_SLEB64, 24
A R_WASM_MEMORY_ADDR_TLS_SLEB64, 25
= R_WASM_FUNCTION_INDEX_I32,     26
```


  Commit: 551d6ddaa3810749ecae33f65759870b78b9a86a
      https://github.com/llvm/llvm-project/commit/551d6ddaa3810749ecae33f65759870b78b9a86a
  Author: Martin Storsjö <martin at martin.st>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M clang/test/Modules/mingw-exceptions.cppm

  Log Message:
  -----------
  [clang] [test] Add a missing requirement for a test

This fixes a test added in 7fc50e92a59c764eb6b1897fcdd506aacb92629c.


  Commit: a74c7d877637f31ff25308969ef7ca6ed94aacc5
      https://github.com/llvm/llvm-project/commit/a74c7d877637f31ff25308969ef7ca6ed94aacc5
  Author: Daniel Paoliello <danpao at microsoft.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/test/Driver/frame-pointer-elim.c
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/lib/Target/AArch64/AArch64FrameLowering.h
    M llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
    M llvm/test/CodeGen/AArch64/regress-w29-reserved-with-fp.ll
    M llvm/test/CodeGen/AArch64/win-sve.ll
    M llvm/test/CodeGen/AArch64/wincfi-missing-seh-directives.ll
    M llvm/test/CodeGen/AArch64/wineh-frame5.mir
    M llvm/test/CodeGen/AArch64/wineh-frame7.mir

  Log Message:
  -----------
  [win][aarch64] Always reserve frame pointers for Arm64 Windows (#146582)

There is no way in Arm64 Windows to indicate that a given function has
used the Frame Pointer as a General Purpose Register, as such stack
walks will always assume that the frame chain is valid and will follow
whatever value has been saved for the Frame Pointer (even if it is
pointing to data, etc.).

This change makes the Frame Pointer always reserved when building for
Arm64 Windows to avoid this issue.

We will be updating the official Windows ABI documentation to reflect
this requirement, and I will provide a link once it's available.


  Commit: c2347170f40d3791d3d7c52cf8a6795f9f083d4b
      https://github.com/llvm/llvm-project/commit/c2347170f40d3791d3d7c52cf8a6795f9f083d4b
  Author: Reid Kleckner <rnk at google.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGDebugInfo.h
    A clang/test/CodeGenCXX/debug-info-dtor-implicit-args.cpp

  Log Message:
  -----------
  Reapply "[Clang,debuginfo] added vtt parameter in destructor DISubroutineType (#130674)" (#145697)

This reverts commit cd826d6e840ed33ad88458c862da5f9fcc6e908c and relands
27c1aa9b9cf9e0b14211758ff8f7d3aaba24ffcf
This fixes #104765

I tweaked the code to avoid an OOB.


  Commit: c863e0ebc2e5b3a74e0b5a07b0715038ec5b8000
      https://github.com/llvm/llvm-project/commit/c863e0ebc2e5b3a74e0b5a07b0715038ec5b8000
  Author: Jannick Kremer <jannick.kremer at mailbox.org>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M .github/workflows/libclang-python-tests.yml
    M clang/CMakeLists.txt
    A clang/bindings/python/tests/CMakeLists.txt
    A clang/bindings/python/tests/__init__.py
    A clang/bindings/python/tests/cindex/INPUTS/a.inc
    A clang/bindings/python/tests/cindex/INPUTS/b.inc
    A clang/bindings/python/tests/cindex/INPUTS/compile_commands.json
    A clang/bindings/python/tests/cindex/INPUTS/header1.h
    A clang/bindings/python/tests/cindex/INPUTS/header2.h
    A clang/bindings/python/tests/cindex/INPUTS/header3.h
    A clang/bindings/python/tests/cindex/INPUTS/hello.cpp
    A clang/bindings/python/tests/cindex/INPUTS/include.cpp
    A clang/bindings/python/tests/cindex/INPUTS/parse_arguments.c
    A clang/bindings/python/tests/cindex/INPUTS/testfile.c
    A clang/bindings/python/tests/cindex/__init__.py
    A clang/bindings/python/tests/cindex/test_access_specifiers.py
    A clang/bindings/python/tests/cindex/test_cdb.py
    A clang/bindings/python/tests/cindex/test_code_completion.py
    A clang/bindings/python/tests/cindex/test_comment.py
    A clang/bindings/python/tests/cindex/test_cursor.py
    A clang/bindings/python/tests/cindex/test_cursor_kind.py
    A clang/bindings/python/tests/cindex/test_diagnostics.py
    A clang/bindings/python/tests/cindex/test_enums.py
    A clang/bindings/python/tests/cindex/test_exception_specification_kind.py
    A clang/bindings/python/tests/cindex/test_file.py
    A clang/bindings/python/tests/cindex/test_index.py
    A clang/bindings/python/tests/cindex/test_lib.py
    A clang/bindings/python/tests/cindex/test_linkage.py
    A clang/bindings/python/tests/cindex/test_location.py
    A clang/bindings/python/tests/cindex/test_rewrite.py
    A clang/bindings/python/tests/cindex/test_source_range.py
    A clang/bindings/python/tests/cindex/test_tls_kind.py
    A clang/bindings/python/tests/cindex/test_token_kind.py
    A clang/bindings/python/tests/cindex/test_tokens.py
    A clang/bindings/python/tests/cindex/test_translation_unit.py
    A clang/bindings/python/tests/cindex/test_type.py
    A clang/bindings/python/tests/cindex/util.py
    M clang/test/CMakeLists.txt
    R clang/test/bindings/python/bindings.sh
    R clang/test/bindings/python/lit.local.cfg
    R clang/test/bindings/python/tests/__init__.py
    R clang/test/bindings/python/tests/cindex/INPUTS/a.inc
    R clang/test/bindings/python/tests/cindex/INPUTS/b.inc
    R clang/test/bindings/python/tests/cindex/INPUTS/compile_commands.json
    R clang/test/bindings/python/tests/cindex/INPUTS/header1.h
    R clang/test/bindings/python/tests/cindex/INPUTS/header2.h
    R clang/test/bindings/python/tests/cindex/INPUTS/header3.h
    R clang/test/bindings/python/tests/cindex/INPUTS/hello.cpp
    R clang/test/bindings/python/tests/cindex/INPUTS/include.cpp
    R clang/test/bindings/python/tests/cindex/INPUTS/parse_arguments.c
    R clang/test/bindings/python/tests/cindex/INPUTS/testfile.c
    R clang/test/bindings/python/tests/cindex/__init__.py
    R clang/test/bindings/python/tests/cindex/test_access_specifiers.py
    R clang/test/bindings/python/tests/cindex/test_cdb.py
    R clang/test/bindings/python/tests/cindex/test_code_completion.py
    R clang/test/bindings/python/tests/cindex/test_comment.py
    R clang/test/bindings/python/tests/cindex/test_cursor.py
    R clang/test/bindings/python/tests/cindex/test_cursor_kind.py
    R clang/test/bindings/python/tests/cindex/test_diagnostics.py
    R clang/test/bindings/python/tests/cindex/test_enums.py
    R clang/test/bindings/python/tests/cindex/test_exception_specification_kind.py
    R clang/test/bindings/python/tests/cindex/test_file.py
    R clang/test/bindings/python/tests/cindex/test_index.py
    R clang/test/bindings/python/tests/cindex/test_lib.py
    R clang/test/bindings/python/tests/cindex/test_linkage.py
    R clang/test/bindings/python/tests/cindex/test_location.py
    R clang/test/bindings/python/tests/cindex/test_rewrite.py
    R clang/test/bindings/python/tests/cindex/test_source_range.py
    R clang/test/bindings/python/tests/cindex/test_tls_kind.py
    R clang/test/bindings/python/tests/cindex/test_token_kind.py
    R clang/test/bindings/python/tests/cindex/test_tokens.py
    R clang/test/bindings/python/tests/cindex/test_translation_unit.py
    R clang/test/bindings/python/tests/cindex/test_type.py
    R clang/test/bindings/python/tests/cindex/util.py

  Log Message:
  -----------
  Revert "Move python binding tests to lit framework (#146486)" (#146789)

This reverts commit a75587d2718f76dc53112065da36e08d04034eb9.


  Commit: d4331344ac45979f5bc58508d7e186f86fe907bd
      https://github.com/llvm/llvm-project/commit/d4331344ac45979f5bc58508d7e186f86fe907bd
  Author: Nilanjana Basu <nilanjana.basu87 at gmail.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/pgo-sample-use-profi.c

  Log Message:
  -----------
  [Clang][Driver][SamplePGO] Introduce -fno_sample_profile_use_profi flag for SamplePGO (#145957)

This flag allows opting out of using profile inference pass for SamplePGO.


  Commit: 6ab7e52dd80dc2ece12cc7f1924a71f1a58e2a8a
      https://github.com/llvm/llvm-project/commit/6ab7e52dd80dc2ece12cc7f1924a71f1a58e2a8a
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-07-03 (Thu, 03 Jul 2025)

  Changed paths:
    M clang/test/CodeGen/WebAssembly/wasm-exception-model-flag-parse-ir-input.ll
    M clang/test/CodeGenCXX/builtins-eh-wasm.cpp
    M clang/test/CodeGenCXX/wasm-eh.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
    M llvm/test/CodeGen/WebAssembly/cfg-stackify-eh-legacy.mir
    M llvm/test/CodeGen/WebAssembly/exception-legacy.mir
    M llvm/test/CodeGen/WebAssembly/function-info.mir

  Log Message:
  -----------
  WebAssembly: Move validation of EH flags to TargetMachine construct time (#146634)


  Commit: c6abab2875ef03c8b89e26a637fbc8246df2362b
      https://github.com/llvm/llvm-project/commit/c6abab2875ef03c8b89e26a637fbc8246df2362b
  Author: Luke Lau <luke at igalia.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
    M llvm/test/CodeGen/RISCV/rvv/setcc-fp-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/vfma-vp-combine.ll
    M llvm/test/CodeGen/RISCV/rvv/vl-opt-instrs.ll
    M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.ll

  Log Message:
  -----------
  [RISCV][VLOPT] Add support for vfmerge.vfm and vfmv.v.f (#146692)

I noticed these were missing when seeing some extra vl toggles with EVL
tail folding.

This helps remove quite a few vsetvlis in llvm-test-suite


  Commit: 6550f28977b915f2a683dccfba67767a62933e82
      https://github.com/llvm/llvm-project/commit/6550f28977b915f2a683dccfba67767a62933e82
  Author: Luke Lau <luke at igalia.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vselect.ll
    M llvm/test/CodeGen/RISCV/rvv/vl-opt-instrs.ll
    M llvm/test/CodeGen/RISCV/rvv/vp-vector-interleaved-access.ll

  Log Message:
  -----------
  [RISCV][VLOPT] Support vslide{up,down} (#146710)

For vslideup and vslidedown, vl controls the elements which are written
just like other vector instructions. So unless I'm missing something it
should be safe to reduce them. For vslidedown, the specification states
that elements past vl may be read.

We already reduce vslideup and vslidedown in
RISCVVectorPeephole::tryToReduceVL where we just check for
RISCVII::elementsDependOnVL.

Eventually we should replace the whitelist with
RISCVII::elementsDependOnVL once we have test coverage. I've also added
an assert just to double check the instructions we currently support.

This helps reduce vl toggles for fixed-order recurrences vectorized with
EVL tail folding.


  Commit: 0d7e64f5d2b45e2150a89390cfdc69b19b1493d9
      https://github.com/llvm/llvm-project/commit/0d7e64f5d2b45e2150a89390cfdc69b19b1493d9
  Author: David Justo <david.justo.1996 at gmail.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M compiler-rt/lib/asan/asan_allocator.cpp
    M compiler-rt/lib/asan/asan_allocator.h
    M compiler-rt/lib/asan/asan_flags.cpp
    M compiler-rt/lib/asan/asan_internal.h
    M compiler-rt/lib/asan/asan_rtl.cpp
    A compiler-rt/test/asan/TestCases/Windows/alloc_dealloc_mismatch.cpp

  Log Message:
  -----------
  [ASan][Windows] Honor asan config flags on windows when set through the user function (#122990)

**Related to:** https://github.com/llvm/llvm-project/issues/117925 
**Follow up to:** https://github.com/llvm/llvm-project/pull/117929

**Context:**
As noted in the linked issue, some ASan configuration flags are not
honored on Windows when set through the `__asan_default_options` user
function. The reason for this is that `__asan_default_options` is not
available by the time `AsanInitInternal` executes, which is responsible
for applying the ASan flags.

To fix this properly, we'll probably need a deep re-design of ASan
initialization so that it is consistent across OS'es.
In the meantime, this PR offers a practical workaround.

**This PR:** refactors part of `AsanInitInternal` so that **idempotent**
flag-applying steps are extracted into a new function `ApplyOptions`.
This function is **also** invoked in the "weak function callback" on
Windows (which gets called when `__asan_default_options` is available)
so that, if any flags were set through the user-function, they are
safely applied _then_.

Today, `ApplyOptions` contains only a subset of flags. My hope is that
`ApplyOptions` will over time, through incremental refactorings
`AsanInitInternal` so that **all** flags are eventually honored.

Other minor changes:
* The introduction of a `ApplyAllocatorOptions` helper method, needed to
implement `ApplyOptions` for allocator options without re-initializing
the entire allocator. Reinitializing the entire allocator is expensive,
as it may do a whole pass over all the marked memory. To my knowledge,
this isn't needed for the options captured in `ApplyAllocatorOptions`.
* Rename `ProcessFlags` to `ValidateFlags`, which seems like a more
accurate name to what that function does, and prevents confusion when
compared to the new `ApplyOptions` function.


  Commit: e873ce31ae0e875081c8e5480c9c4925c97469ce
      https://github.com/llvm/llvm-project/commit/e873ce31ae0e875081c8e5480c9c4925c97469ce
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M flang/include/flang/Evaluate/tools.h
    M flang/include/flang/Semantics/tools.h
    M flang/lib/Evaluate/tools.cpp
    M flang/lib/Semantics/tools.cpp
    A flang/test/Lower/CUDA/cuda-derived.cuf

  Log Message:
  -----------
  [flang][cuda] Do not create global for derived-type with allocatable device components (#146780)

derived type with CUDA device allocatable components will be handle via
CUDA allocation. Do not create global for them.


  Commit: 925588cd001a91d592b99e6e7c6bee9514f5a26e
      https://github.com/llvm/llvm-project/commit/925588cd001a91d592b99e6e7c6bee9514f5a26e
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M flang/lib/Lower/ConvertVariable.cpp
    M flang/lib/Semantics/tools.cpp
    M flang/test/Lower/CUDA/cuda-derived.cuf

  Log Message:
  -----------
  [flang][cuda] Allocate derived-type with CUDA componement in managed memory (#146797)

Similarly to descriptor for device data, put derived type holding device
descriptor in managed memory.


  Commit: 717899ce8664ff62eb8b157e286cfb07b4b506d1
      https://github.com/llvm/llvm-project/commit/717899ce8664ff62eb8b157e286cfb07b4b506d1
  Author: Andres-Salamanca <andrealebarbaritos at gmail.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/include/clang/CIR/LoweringHelpers.h
    M clang/lib/CIR/CodeGen/CIRGenBuilder.h
    M clang/lib/CIR/CodeGen/CIRGenExpr.cpp
    M clang/lib/CIR/CodeGen/CIRGenFunction.h
    M clang/lib/CIR/CodeGen/CIRGenValue.h
    M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h
    M clang/lib/CIR/Lowering/LoweringHelpers.cpp
    M clang/test/CIR/CodeGen/bitfields.c
    M clang/test/CIR/CodeGen/bitfields.cpp
    M clang/test/CIR/CodeGen/bitfields_be.c

  Log Message:
  -----------
  [CIR] Upstream get_bitfield operation to load bit-field members from structs (#145971)

This PR adds support for loading bit-field members from structs using
the `get_bitfield` operation.
It enables retrieving the address of the bitfield-packed member but does
**not** yet support volatile bitfields this will be addressed in a
future PR.


  Commit: 5e31d4cdf2f53c98a705df91d386d315f9332b99
      https://github.com/llvm/llvm-project/commit/5e31d4cdf2f53c98a705df91d386d315f9332b99
  Author: Luke Lau <luke at igalia.com>
  Date:   2025-07-03 (Thu, 03 Jul 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
    M llvm/test/CodeGen/RISCV/rvv/vl-opt-instrs.ll

  Log Message:
  -----------
  [RISCV][VLOPT] Support v[f]slide1up.v{x,f} (#146716)

Similarly to #146710, for vslide1ups vl only determines the destination
elements written to so we can safely reduce their AVL.

We cannot do this for vslide1downs as the vl determines which lane the
new element is to be inserted in, so some negative tests have been
added.


  Commit: 4e26801ea91f2b7d2e88005db1ce57d104d0dbe9
      https://github.com/llvm/llvm-project/commit/4e26801ea91f2b7d2e88005db1ce57d104d0dbe9
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-07-03 (Thu, 03 Jul 2025)

  Changed paths:
    M clang/test/CodeGenCXX/builtins-eh-wasm.cpp

  Log Message:
  -----------
  clang: Add requires webassembly to a test

Prior to 6ab7e52dd80dc2ece12cc7f1924a71f1a58e2a8a the test got
away with out it because the error was not triggered if the
backend didn't run.


  Commit: f01017ca9711a69c3dd6b848af583a901fd03450
      https://github.com/llvm/llvm-project/commit/f01017ca9711a69c3dd6b848af583a901fd03450
  Author: Reid Kleckner <rnk at google.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M llvm/docs/DeveloperPolicy.rst
    M llvm/docs/GitHub.rst

  Log Message:
  -----------
  [docs] Refresh Developer Policy text (#136198)

Clarify lots of existing practice. Expand on the "major change" section,
which is the closest thing we have on how to run an RFC.

---------

Co-authored-by: Oleksandr "Alex" Zinenko <azinenko at amd.com>
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>


  Commit: a068ed288af16df0d6189fd830216bbfa6257016
      https://github.com/llvm/llvm-project/commit/a068ed288af16df0d6189fd830216bbfa6257016
  Author: Alexandre Perez <alexandreperez at meta.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M lldb/source/Commands/CommandObjectProtocolServer.cpp
    A lldb/test/API/commands/protocol/TestMCPUnixSocket.py

  Log Message:
  -----------
  [lldb][mcp] Fix unix domain socket protocol server addresses (#146603)

When starting an MCP protocol server that uses unix sockets as the
transport, a local `'[0.0.0.0]:0'` file is used instead of the supplied
socket path, e.g:
```
(lldb) protocol-server start MCP accept:///tmp/some/path.sock
MCP server started with connection listeners: unix-connect://[0.0.0.0]:0
(lldb) shell ls '[*'
[0.0.0.0]:0
```

This change makes it so that the URI path is used if the socket protocol
is `ProtocolUnixDomain`:
```
(lldb) protocol-server start MCP accept:///tmp/some/path.sock
MCP server started with connection listeners: unix-connect:///tmp/some/path.sock
```


  Commit: 6e9b25e2ae52c959559277c36e89b5023b60d4d8
      https://github.com/llvm/llvm-project/commit/6e9b25e2ae52c959559277c36e89b5023b60d4d8
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M .github/workflows/libclang-python-tests.yml
    M clang/CMakeLists.txt
    A clang/bindings/python/tests/CMakeLists.txt
    A clang/bindings/python/tests/__init__.py
    A clang/bindings/python/tests/cindex/INPUTS/a.inc
    A clang/bindings/python/tests/cindex/INPUTS/b.inc
    A clang/bindings/python/tests/cindex/INPUTS/compile_commands.json
    A clang/bindings/python/tests/cindex/INPUTS/header1.h
    A clang/bindings/python/tests/cindex/INPUTS/header2.h
    A clang/bindings/python/tests/cindex/INPUTS/header3.h
    A clang/bindings/python/tests/cindex/INPUTS/hello.cpp
    A clang/bindings/python/tests/cindex/INPUTS/include.cpp
    A clang/bindings/python/tests/cindex/INPUTS/parse_arguments.c
    A clang/bindings/python/tests/cindex/INPUTS/testfile.c
    A clang/bindings/python/tests/cindex/__init__.py
    A clang/bindings/python/tests/cindex/test_access_specifiers.py
    A clang/bindings/python/tests/cindex/test_cdb.py
    A clang/bindings/python/tests/cindex/test_code_completion.py
    A clang/bindings/python/tests/cindex/test_comment.py
    A clang/bindings/python/tests/cindex/test_cursor.py
    A clang/bindings/python/tests/cindex/test_cursor_kind.py
    A clang/bindings/python/tests/cindex/test_diagnostics.py
    A clang/bindings/python/tests/cindex/test_enums.py
    A clang/bindings/python/tests/cindex/test_exception_specification_kind.py
    A clang/bindings/python/tests/cindex/test_file.py
    A clang/bindings/python/tests/cindex/test_index.py
    A clang/bindings/python/tests/cindex/test_lib.py
    A clang/bindings/python/tests/cindex/test_linkage.py
    A clang/bindings/python/tests/cindex/test_location.py
    A clang/bindings/python/tests/cindex/test_rewrite.py
    A clang/bindings/python/tests/cindex/test_source_range.py
    A clang/bindings/python/tests/cindex/test_tls_kind.py
    A clang/bindings/python/tests/cindex/test_token_kind.py
    A clang/bindings/python/tests/cindex/test_tokens.py
    A clang/bindings/python/tests/cindex/test_translation_unit.py
    A clang/bindings/python/tests/cindex/test_type.py
    A clang/bindings/python/tests/cindex/util.py
    M clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/include/clang/CIR/LoweringHelpers.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/CIR/CodeGen/CIRGenBuilder.h
    M clang/lib/CIR/CodeGen/CIRGenExpr.cpp
    M clang/lib/CIR/CodeGen/CIRGenFunction.h
    M clang/lib/CIR/CodeGen/CIRGenValue.h
    M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h
    M clang/lib/CIR/Lowering/LoweringHelpers.cpp
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGDebugInfo.h
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/test/CIR/CodeGen/bitfields.c
    M clang/test/CIR/CodeGen/bitfields.cpp
    M clang/test/CIR/CodeGen/bitfields_be.c
    M clang/test/CMakeLists.txt
    M clang/test/CodeGen/WebAssembly/wasm-exception-model-flag-parse-ir-input.ll
    M clang/test/CodeGenCXX/builtins-eh-wasm.cpp
    A clang/test/CodeGenCXX/debug-info-dtor-implicit-args.cpp
    M clang/test/CodeGenCXX/wasm-eh.cpp
    M clang/test/Driver/frame-pointer-elim.c
    M clang/test/Driver/pgo-sample-use-profi.c
    A clang/test/Modules/mingw-exceptions.cppm
    R clang/test/bindings/python/bindings.sh
    R clang/test/bindings/python/lit.local.cfg
    R clang/test/bindings/python/tests/__init__.py
    R clang/test/bindings/python/tests/cindex/INPUTS/a.inc
    R clang/test/bindings/python/tests/cindex/INPUTS/b.inc
    R clang/test/bindings/python/tests/cindex/INPUTS/compile_commands.json
    R clang/test/bindings/python/tests/cindex/INPUTS/header1.h
    R clang/test/bindings/python/tests/cindex/INPUTS/header2.h
    R clang/test/bindings/python/tests/cindex/INPUTS/header3.h
    R clang/test/bindings/python/tests/cindex/INPUTS/hello.cpp
    R clang/test/bindings/python/tests/cindex/INPUTS/include.cpp
    R clang/test/bindings/python/tests/cindex/INPUTS/parse_arguments.c
    R clang/test/bindings/python/tests/cindex/INPUTS/testfile.c
    R clang/test/bindings/python/tests/cindex/__init__.py
    R clang/test/bindings/python/tests/cindex/test_access_specifiers.py
    R clang/test/bindings/python/tests/cindex/test_cdb.py
    R clang/test/bindings/python/tests/cindex/test_code_completion.py
    R clang/test/bindings/python/tests/cindex/test_comment.py
    R clang/test/bindings/python/tests/cindex/test_cursor.py
    R clang/test/bindings/python/tests/cindex/test_cursor_kind.py
    R clang/test/bindings/python/tests/cindex/test_diagnostics.py
    R clang/test/bindings/python/tests/cindex/test_enums.py
    R clang/test/bindings/python/tests/cindex/test_exception_specification_kind.py
    R clang/test/bindings/python/tests/cindex/test_file.py
    R clang/test/bindings/python/tests/cindex/test_index.py
    R clang/test/bindings/python/tests/cindex/test_lib.py
    R clang/test/bindings/python/tests/cindex/test_linkage.py
    R clang/test/bindings/python/tests/cindex/test_location.py
    R clang/test/bindings/python/tests/cindex/test_rewrite.py
    R clang/test/bindings/python/tests/cindex/test_source_range.py
    R clang/test/bindings/python/tests/cindex/test_tls_kind.py
    R clang/test/bindings/python/tests/cindex/test_token_kind.py
    R clang/test/bindings/python/tests/cindex/test_tokens.py
    R clang/test/bindings/python/tests/cindex/test_translation_unit.py
    R clang/test/bindings/python/tests/cindex/test_type.py
    R clang/test/bindings/python/tests/cindex/util.py
    M compiler-rt/lib/asan/asan_allocator.cpp
    M compiler-rt/lib/asan/asan_allocator.h
    M compiler-rt/lib/asan/asan_flags.cpp
    M compiler-rt/lib/asan/asan_internal.h
    M compiler-rt/lib/asan/asan_rtl.cpp
    A compiler-rt/test/asan/TestCases/Windows/alloc_dealloc_mismatch.cpp
    M flang/include/flang/Evaluate/tools.h
    M flang/include/flang/Semantics/tools.h
    M flang/lib/Evaluate/tools.cpp
    M flang/lib/Lower/ConvertVariable.cpp
    M flang/lib/Semantics/tools.cpp
    A flang/test/Lower/CUDA/cuda-derived.cuf
    R lld/test/wasm/compress-relocs.ll
    A lld/test/wasm/compress-relocs.s
    A lld/test/wasm/compress-relocs64.s
    M lld/wasm/InputChunks.cpp
    M lldb/source/Commands/CommandObjectProtocolServer.cpp
    A lldb/test/API/commands/protocol/TestMCPUnixSocket.py
    M llvm/docs/DeveloperPolicy.rst
    M llvm/docs/GitHub.rst
    M llvm/include/llvm/ADT/ArrayRef.h
    M llvm/include/llvm/BinaryFormat/Wasm.h
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/lib/Target/AArch64/AArch64FrameLowering.h
    M llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
    M llvm/lib/Target/RISCV/RISCVVLOptimizer.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
    M llvm/test/CodeGen/AArch64/regress-w29-reserved-with-fp.ll
    M llvm/test/CodeGen/AArch64/win-sve.ll
    M llvm/test/CodeGen/AArch64/wincfi-missing-seh-directives.ll
    M llvm/test/CodeGen/AArch64/wineh-frame5.mir
    M llvm/test/CodeGen/AArch64/wineh-frame7.mir
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vselect.ll
    M llvm/test/CodeGen/RISCV/rvv/setcc-fp-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/vfma-vp-combine.ll
    M llvm/test/CodeGen/RISCV/rvv/vl-opt-instrs.ll
    M llvm/test/CodeGen/RISCV/rvv/vp-vector-interleaved-access.ll
    M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.ll
    M llvm/test/CodeGen/WebAssembly/cfg-stackify-eh-legacy.mir
    M llvm/test/CodeGen/WebAssembly/exception-legacy.mir
    M llvm/test/CodeGen/WebAssembly/function-info.mir
    M llvm/unittests/ADT/ArrayRefTest.cpp

  Log Message:
  -----------
  Merge branch 'main' into users/kparzysz/spr/d01-name-parser


Compare: https://github.com/llvm/llvm-project/compare/9d35e4618296...6e9b25e2ae52

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list