[all-commits] [llvm/llvm-project] ca09e0: [Symbolizer][WebAssembly] Use wasm-specific getSym...

Derek Schuff via All-commits all-commits at lists.llvm.org
Thu Feb 22 19:41:28 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca09e08239008759f92f4aff39c7640da3e1bfa9
      https://github.com/llvm/llvm-project/commit/ca09e08239008759f92f4aff39c7640da3e1bfa9
  Author: Derek Schuff <dschuff at chromium.org>
  Date:   2024-02-22 (Thu, 22 Feb 2024)

  Changed paths:
    M llvm/lib/Object/SymbolSize.cpp
    M llvm/test/tools/llvm-symbolizer/wasm-basic.s

  Log Message:
  -----------
  [Symbolizer][WebAssembly] Use wasm-specific getSymbolSize (#82083)

getSymbolSize was recently added to WasmObjectFile and has correct sizes 
for most symbol types. This makes llvm-symbolizer correctly symbolize
addresses in the middle of the symbol.

When reworking the test I also noticed that the DWARF info seems to be
wrong for the first instruction in each function. I noted that in the test
comments but didn't attempt to fix here.



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