[Lldb-commits] [PATCH] D58930: Add XCOFF triple object format type for AIX
Andrew Paprocki via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Mar 5 05:54:43 PST 2019
apaprocki added inline comments.
Comment at: lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp:2079
+ if (log)
+ log->Printf("sorry: unimplemented for XCOFF");
+ return false;
No need to be `sorry:` :) This should probably just say `error: XCOFF is unimplemented` to be more direct in case anything is expecting "error:" in the output.
Comment at: llvm/lib/Support/Triple.cpp:537
+ // FIXME: We have to put XCOFF before COFF;
+ // perhaps an order-independent pattern matching is desired?
> If the conclusion is that checking XCOFF before COFF is fine, then we should remove the FIXME and just leave a normal comment.
Agreed, existing code seems fine as long as there is a comment explaining that `xcoff` must come before `coff` in case it isn't obvious at a quick glance.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the lldb-commits