[PATCH] D61670: [RFC] [MinGW] Allow opting out from .refptr stubs

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 21 03:24:49 PDT 2023


mstorsjo updated this revision to Diff 551957.
mstorsjo added a comment.
Herald added a subscriber: MaskRay.

Updated as discussed, adding a new option `-fno-autoimport` (and the corresponding positive one, `-fautoimport`, which is the implicit default), which affects code generation and linking.

The existing linker option `--disable-auto-import` (which is passed if this new option is set), splits "auto import" into two words - should the new Clang option try to harmonize with this spelling, making it `-fno-auto-import` instead?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61670/new/

https://reviews.llvm.org/D61670

Files:
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Basic/CodeGenOptions.def
  clang/include/clang/Driver/Options.td
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Driver/ToolChains/MinGW.cpp
  clang/test/CodeGen/dso-local-executable.c
  clang/test/Driver/mingw-autoimport.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61670.551957.patch
Type: text/x-patch
Size: 7444 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230821/34fb79b8/attachment.bin>


More information about the cfe-commits mailing list