Details
- Reviewers
emaste theraven brooks atanasyan - Commits
- rG46f338ce7fc0: On {mips,mipsel,mips64,mips64el}-freebsd, we need to pass any -G option to the…
rC256468: On {mips,mipsel,mips64,mips64el}-freebsd, we need to pass any -G option to the…
rL256468: On {mips,mipsel,mips64,mips64el}-freebsd, we need to pass any -G option to…
Diff Detail
Event Timeline
lib/Driver/Tools.cpp | ||
---|---|---|
7780–7782 | Any reason not to do A->render(Args, CmdArgs);? |
I may just not understand how render() works, but I tried it and it didn't seem to work to replace
StringRef v = A->getValue();
CmdArgs.push_back(Args.MakeArgString("-G" + v));
with
A->render(Args, CmdArgs);
lib/Driver/Tools.cpp | ||
---|---|---|
7780–7782 | I may just not understand how render() works, but I tried it and it didn't seem to work. On annoying thing about -G is that it can work as "-G#" or "-G #" which seems to require the getValue() call to construct a -G# that will work with the assembler. |
Any reason not to do A->render(Args, CmdArgs);?