[all-commits] [llvm/llvm-project] bf95a8: [MinGW] Always enable -mbig-obj for LLVM build unl...

Mateusz Mikuła via All-commits all-commits at lists.llvm.org
Fri May 14 13:48:20 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf95a8cf86aea3961f9ebeacc5e8782ec8ce091d
      https://github.com/llvm/llvm-project/commit/bf95a8cf86aea3961f9ebeacc5e8782ec8ce091d
  Author: Mateusz Mikuła <mati865 at gmail.com>
  Date:   2021-05-14 (Fri, 14 May 2021)

  Changed paths:
    M llvm/cmake/modules/HandleLLVMOptions.cmake

  Log Message:
  -----------
  [MinGW] Always enable -mbig-obj for LLVM build unless using Clang

It's easy to hit 2**16 limit with i686 GNU toolchains these days.
Clang does it automagically, so it's not needed there, and the option
causes warnings about being unused when linking.

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


  Commit: f84a4cb0df90098ffde4bd79ace5964d04497cfc
      https://github.com/llvm/llvm-project/commit/f84a4cb0df90098ffde4bd79ace5964d04497cfc
  Author: Mateusz Mikuła <mati865 at gmail.com>
  Date:   2021-05-14 (Fri, 14 May 2021)

  Changed paths:
    M lld/MinGW/Options.td

  Log Message:
  -----------
  [LLD][MinGW] Ignore --no-undefined flag

AFAIK this is the default behaviour when this flag is not passed.

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


Compare: https://github.com/llvm/llvm-project/compare/6c913b2f3738...f84a4cb0df90


More information about the All-commits mailing list