[PATCH] D17686: Move functionality of UniversalDriver to the entry point file.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 27 18:03:52 PST 2016
ruiu created this revision.
ruiu added a reviewer: rafael.
ruiu added a subscriber: llvm-commits.
UniversalDriver was used as a dispatcher to each platform-specific driver.
It had its own Options.td file. It was not just too much to parse only a
few options (we only want to parse -core, -flavor or argv),
but also interpreted arguments too early. For example, if you invoke lld as
"lld -flavor gnu ... -help", then you'd get the UniversalDriver's help
message instead of GnuDriver's. This patch eliminates the use of Options
from the dispatcher.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 15912 bytes
Desc: not available
More information about the llvm-commits