[all-commits] [llvm/llvm-project] 01706e: [llvm-nm][WebAssembly] Print function symbol sizes...

Derek Schuff via All-commits all-commits at lists.llvm.org
Fri Feb 9 14:22:58 PST 2024


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

  Changed paths:
    M llvm/include/llvm/Object/Wasm.h
    M llvm/lib/Object/WasmObjectFile.cpp
    M llvm/test/MC/WebAssembly/alias-offset.s
    M llvm/test/MC/WebAssembly/alias.s
    M llvm/test/Object/wasm-linked-namesec-with-linkingsec.yaml
    M llvm/test/Object/wasm-linked-symbol-table.yaml
    M llvm/test/tools/llvm-nm/wasm/linked.yaml
    M llvm/test/tools/llvm-nm/wasm/print-size.test
    M llvm/test/tools/llvm-objdump/wasm/dylink-symbol-table.yaml
    M llvm/test/tools/llvm-objdump/wasm/linked-symbol-table-namesec.yaml
    M llvm/test/tools/llvm-objdump/wasm/symbol-table.test
    M llvm/tools/llvm-nm/llvm-nm.cpp
    M llvm/tools/llvm-objdump/llvm-objdump.cpp

  Log Message:
  -----------
  [llvm-nm][WebAssembly] Print function symbol sizes (#81315)

nm already prints sizes for data symbols. Do that for function symbols 
too, and update objdump to also print size information.

Implements item 3 from https://github.com/llvm/llvm-project/issues/76107




More information about the All-commits mailing list