daltenty added inline comments.
Comment at: llvm/include/llvm/Target/TargetMachine.h:265
+ /// corresponding to -mno-xcoff-visibility.
+ bool getNoXCOFFVisibility() const { return Options.NoXCOFFVisibility; }
+
DiggerLin wrote:
> jasonliu wrote:
> > DiggerLin w
DiggerLin marked an inline comment as done.
DiggerLin added inline comments.
Comment at: llvm/include/llvm/Target/TargetMachine.h:265
+ /// corresponding to -mno-xcoff-visibility.
+ bool getNoXCOFFVisibility() const { return Options.NoXCOFFVisibility; }
+
jason
jasonliu added inline comments.
Comment at: llvm/include/llvm/Target/TargetMachine.h:265
+ /// corresponding to -mno-xcoff-visibility.
+ bool getNoXCOFFVisibility() const { return Options.NoXCOFFVisibility; }
+
DiggerLin wrote:
> daltenty wrote:
> > This seems
jasonliu added inline comments.
Comment at: clang/docs/ClangCommandLineReference.rst:2310
+.. option:: -mno-xcoff-visibility
+
It's rare to see an option with only the negative form. Could we rename and
make it a positive form somehow?
Also we would need to mo
DiggerLin updated this revision to Diff 294070.
DiggerLin marked an inline comment as done.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87451/new/
https://reviews.llvm.org/D87451
Files:
clang/docs/ClangCommandLineReference.rst
clang/include/cl
DiggerLin marked 5 inline comments as done.
DiggerLin added inline comments.
Comment at: clang/lib/Frontend/CompilerInvocation.cpp:2768
// The type-visibility mode defaults to the value-visibility mode.
if (Arg *typeVisOpt = Args.getLastArg(OPT_ftype_visibility)) {
Opt
DiggerLin marked an inline comment as done.
DiggerLin added inline comments.
Comment at: llvm/include/llvm/Target/TargetMachine.h:265
+ /// corresponding to -mno-xcoff-visibility.
+ bool getNoXCOFFVisibility() const { return Options.NoXCOFFVisibility; }
+
dalte
daltenty added inline comments.
Comment at: llvm/include/llvm/Target/TargetMachine.h:265
+ /// corresponding to -mno-xcoff-visibility.
+ bool getNoXCOFFVisibility() const { return Options.NoXCOFFVisibility; }
+
This seems like it needs the corresponding comand-
DiggerLin updated this revision to Diff 293571.
DiggerLin added a comment.
Herald added subscribers: llvm-commits, kbarton, hiraditya, nemanjai.
Herald added a project: LLVM.
address comment
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87451/new/