[PATCH] D45550: Use GetArgumentVector to retrieve the utf-8 encoded arguments on all platforms
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 12 13:41:38 PDT 2018
ruiu added a comment.
I think I'm convinced. We probably should enable that particular test if Python 3.
================
Comment at: tools/lld/lld.cpp:129-130
+ SpecificBumpPtrAllocator<char> ArgAllocator;
+ ExitOnErr(errorCodeToError(sys::Process::GetArgumentVector(
+ Argv, makeArrayRef(Argv_, Argc_), ArgAllocator)));
+
----------------
Why is this function's signature so complex? How can it fail?
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D45550
More information about the llvm-commits
mailing list