[PATCH] D89986: [AIX] do not emit visibility attribute into IR when there is -mignore-xcoff-visibility

Digger Lin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 9 06:40:40 PST 2021


DiggerLin updated this revision to Diff 329316.
DiggerLin added a comment.

slight change , move to

  if (Opts.IgnoreXCOFFVisibility)
    GenerateArg(Args, OPT_mignore_xcoff_visibility, SA);

to position as comment.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89986

Files:
  clang/include/clang/Basic/CodeGenOptions.def
  clang/include/clang/Basic/LangOptions.def
  clang/lib/AST/Decl.cpp
  clang/lib/CodeGen/BackendUtil.cpp
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/test/CodeGen/aix-ignore-xcoff-visibility.cpp
  clang/test/CodeGen/aix-visibility-inlines-hidden.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89986.329316.patch
Type: text/x-patch
Size: 12831 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210309/a6c091e1/attachment-0001.bin>


More information about the cfe-commits mailing list