[all-commits] [llvm/llvm-project] da6a89: [WebAssembly] Add WebAssembly support to llvm-symb...

Derek Schuff via All-commits all-commits at lists.llvm.org
Tue Jan 28 09:57:14 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: da6a896e6b1b1e397297b08a565940f1e0391cb7
      https://github.com/llvm/llvm-project/commit/da6a896e6b1b1e397297b08a565940f1e0391cb7
  Author: Derek Schuff <dschuff at chromium.org>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M llvm/include/llvm/Object/Wasm.h
    M llvm/lib/Object/SymbolSize.cpp
    M llvm/lib/Object/WasmObjectFile.cpp
    M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
    A llvm/test/tools/llvm-symbolizer/wasm-basic.s

  Log Message:
  -----------
  [WebAssembly] Add WebAssembly support to llvm-symbolizer

The only thing missing for basic llvm-symbolizer support is the ability on
lib/Object to get a wasm symbol's section ID, which allows sorting and
computation of the symbols' sizes.

Also, when the WasmAsmParser switches sections on new functions, also add the
section to the list of Dwarf sections if Dwarf is being generated for assembly;
this allows writing of simple tests.

Reviewers: sbc100, jhenderson, aardappel

Differential Revision: https://reviews.llvm.org/D73246




More information about the All-commits mailing list