[all-commits] [llvm/llvm-project] a90b42: [ThinLTO] Default -enable-import-metadata to false

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Dec 31 10:08:35 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a90b42b0fec618124a3ed573ecd0e192a61815f7
      https://github.com/llvm/llvm-project/commit/a90b42b0fec618124a3ed573ecd0e192a61815f7
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-12-31 (Thu, 31 Dec 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/FunctionImport.cpp

  Log Message:
  -----------
  [ThinLTO] Default -enable-import-metadata to false

The default value is dependent on `-DLLVM_ENABLE_ASSERTIONS={off,on}` (D22167), which is
error-prone. The few tests checking `!thinlto_src_module` can specify -enable-import-metadata explicitly.

Reviewed By: tejohnson

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




More information about the All-commits mailing list