[PATCH] D153907: [AIX] [TOC] Add -mtocdata/-mno-tocdata options on AIX

Amy Kwan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 16 09:34:52 PDT 2023


amyk added a comment.

One last comment from the group code review.



================
Comment at: clang/lib/Driver/ToolChains/AIX.cpp:485
+
+      if (TocDataInEffect) {
+        CC1Args.push_back("-mtocdata");
----------------
What is inside the if/else are similar. If they're the same, maybe we can set a variable inside the if/else and then move the other lines out of the if/else.


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

https://reviews.llvm.org/D153907



More information about the llvm-commits mailing list