I found that getString defined in the LLD's Driver.cpp is exactly the same as Arg::getLastArgValue defined in llvm/Option/ArgLIst.h.
This patch removes that local function and use the function that the Arg class provides.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 7233 Build 7233: arc lint + arc unit
Event Timeline
Comment Actions
LGTM
Thank you for doing this! I didn't know that Arg class provides that function, that's why I implemented our own getString() function.