Skip to content

Commit 7eaf3d4

Browse files
committed
Fix one more occurrence of getOption().getID().
llvm-svn: 308523
1 parent 89da6bb commit 7eaf3d4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lld/ELF/DriverUtils.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ std::string elf::createResponseFile(const opt::InputArgList &Args) {
141141

142142
// Copy the command line to the output while rewriting paths.
143143
for (auto *Arg : Args) {
144-
switch (Arg->getOption().getID()) {
144+
switch (Arg->getOption().getUnaliasedOption().getID()) {
145145
case OPT_reproduce:
146146
break;
147147
case OPT_INPUT:
@@ -157,7 +157,6 @@ std::string elf::createResponseFile(const opt::InputArgList &Args) {
157157
case OPT_L:
158158
case OPT_dynamic_list:
159159
case OPT_rpath:
160-
case OPT_alias_script_T:
161160
case OPT_script:
162161
case OPT_version_script:
163162
OS << Arg->getSpelling() << " " << quote(rewritePath(Arg->getValue()))

0 commit comments

Comments
 (0)