[all-commits] [llvm/llvm-project] 46a326: [WebAssembly] Add warnings for -shared and -pie

Dan Gohman via All-commits all-commits at lists.llvm.org
Thu Jun 25 15:59:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 46a32683123a05b58302f10dc4c270519c80115a
      https://github.com/llvm/llvm-project/commit/46a32683123a05b58302f10dc4c270519c80115a
  Author: Dan Gohman <sunfish at mozilla.com>
  Date:   2020-06-25 (Thu, 25 Jun 2020)

  Changed paths:
    M lld/wasm/Config.h
    M lld/wasm/Driver.cpp
    M lld/wasm/Options.td

  Log Message:
  -----------
  [WebAssembly] Add warnings for -shared and -pie

The meaning of -shared and -pie are expected to be changed in the
future when Module Linking-style libraries are implemented. Begin
issuing warnings to give people a heads-up that they will be changing.

For compatibility with Emscripten, add a --experimental-pic flag which
disables these warnings.

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




More information about the All-commits mailing list