This is an archive of the discontinued LLVM Phabricator instance.

Driver: Use the canonical command line arguments.
ClosedPublic

Authored by majnemer on Oct 4 2013, 5:20 AM.

Details

Summary

Use the arguments given to the OS at process creation-time instead of
the arguments passed into main() by the C runtime environment. The ones
that main() received may not be suitable (e.g. not Unicode).

Depends on D1834

Diff Detail

Event Timeline

majnemer updated this revision to Unknown Object (????).Oct 6 2013, 5:03 AM
  • Updated for LLVM changes.
majnemer closed this revision.Oct 7 2013, 12:36 AM

Closed by commit rL192091 (authored by @majnemer).

ruiu added inline comments.Oct 7 2013, 2:10 PM
cfe/trunk/tools/driver/driver.cpp
298

Naming convention in LLD is slightly different from LLVM. Local variables should start with lowercase and spelled as camel case.

ruiu added a comment.Oct 7 2013, 2:20 PM

Ah, sorry, I thought that I was reviewing a LLD patch. This is for Clang. Please ignore the above comment.