[all-commits] [llvm/llvm-project] 830c8d: test(llvm-symbolizer): fix Wasm layering violation...

Derek Schuff via All-commits all-commits at lists.llvm.org
Wed May 27 17:36:21 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 830c8d625421ed5e86c73acb523f92ee4e39ee84
      https://github.com/llvm/llvm-project/commit/830c8d625421ed5e86c73acb523f92ee4e39ee84
  Author: Derek Schuff <dschuff at chromium.org>
  Date:   2026-05-28 (Thu, 28 May 2026)

  Changed paths:
    A llvm/test/tools/llvm-symbolizer/Inputs/wasm-basic.yaml
    R llvm/test/tools/llvm-symbolizer/lit.local.cfg
    M llvm/test/tools/llvm-symbolizer/wasm-basic.s

  Log Message:
  -----------
  test(llvm-symbolizer): fix Wasm layering violation by using YAML (#200080)

Avoid using wasm-ld in LLVM tests by prebuilding the test binary
as a YAML file and using yaml2obj at test time.

This matches the approach taken in
4bce216e6b550c770f2e536422c3d95333f65ba3.
Because yaml2obj always uses 5-byte LEBs, the CODE section offset
shifted from 0x37 to 0x4b, so the file offsets passed to llvm-symbolizer
were updated accordingly.

Replaces #200046

Assisted-by: Gemini



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