mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
[llvm-symbolizer] Move setGroupedShortOptions and don't ignore case
setGroupedShortOptions in the ctor seems more popular.
This commit is contained in:
parent
85a8d3c7b3
commit
50b7df4325
@ -66,7 +66,9 @@ static const opt::OptTable::Info InfoTable[] = {
|
||||
|
||||
class SymbolizerOptTable : public opt::OptTable {
|
||||
public:
|
||||
SymbolizerOptTable() : OptTable(InfoTable, true) {}
|
||||
SymbolizerOptTable() : OptTable(InfoTable) {
|
||||
setGroupedShortOptions(true);
|
||||
}
|
||||
};
|
||||
} // namespace
|
||||
|
||||
@ -206,7 +208,6 @@ static opt::InputArgList parseOptions(int Argc, char *Argv[], bool IsAddr2Line,
|
||||
StringSaver &Saver,
|
||||
SymbolizerOptTable &Tbl) {
|
||||
StringRef ToolName = IsAddr2Line ? "llvm-addr2line" : "llvm-symbolizer";
|
||||
Tbl.setGroupedShortOptions(true);
|
||||
// The environment variable specifies initial options which can be overridden
|
||||
// by commnad line options.
|
||||
Tbl.setInitialOptionsFromEnvironment(IsAddr2Line ? "LLVM_ADDR2LINE_OPTS"
|
||||
|
Loading…
Reference in New Issue
Block a user