[PATCH] D89897: [AIX] Emit error for -G option on AIX

Jason Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 21 13:15:40 PDT 2020


jasonliu added a comment.

Could we add some rationale to the patch summary about why we would want to deliberately emitting an error for AIX?



================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:4924
 
+  if (RawTriple.isOSAIX())
+    if (Arg *A = Args.getLastArg(options::OPT_G)) {
----------------
Question: When do we query `RawTriple`, and when we should query `Triple`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89897



More information about the cfe-commits mailing list