The gold plugin can take LLVM options, but the syntax is confusing: -Wl,-plugin-opt= or -Xlinker -plugin-opt=.
Instead, pass -mllvm options through to Gold so the obvious syntax works.
Paths
| Differential D16056
[Gold] Pass -mllvm options to the gold plugin AbandonedPublic Authored by jmolloy on Jan 11 2016, 3:47 AM.
Details
Summary The gold plugin can take LLVM options, but the syntax is confusing: -Wl,-plugin-opt= or -Xlinker -plugin-opt=. Instead, pass -mllvm options through to Gold so the obvious syntax works.
Diff Detail
Event Timelinejmolloy updated this object. Comment Actions Maybe. I would like a second opinion on this one. The potential issue Cheers,
Revision Contents
Diff 44461 lib/Driver/Tools.cpp
test/Driver/gold-lto.c
|