[all-commits] [llvm/llvm-project] 9c7b58: [WebAssembly][MC] Fix computation of relative symb...

Dominic Chen via All-commits all-commits at lists.llvm.org
Mon Sep 21 21:53:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c7b58080ebd7ad3a63b892b5ae7f92e41587327
      https://github.com/llvm/llvm-project/commit/9c7b58080ebd7ad3a63b892b5ae7f92e41587327
  Author: Dominic Chen <d.c.ddcc at gmail.com>
  Date:   2020-09-22 (Tue, 22 Sep 2020)

  Changed paths:
    M llvm/lib/MC/WasmObjectWriter.cpp
    A llvm/test/MC/WebAssembly/alias-offset.s
    R llvm/test/MC/WebAssembly/offset.s

  Log Message:
  -----------
  [WebAssembly][MC] Fix computation of relative symbol offset

For relative symbols, add its offset when computing relocation value.
Also, warn on unsupported absolute symbols.

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




More information about the All-commits mailing list