diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-04-09 23:53:34 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-04-09 23:53:34 +0000 |
commit | 9446d76e80aad5425d745e7404f10bf041b0ba8b (patch) | |
tree | 37385132fb4bc38284ddf7985a1bf654b3490c52 /llvm/lib/Object/COFFObjectFile.cpp | |
parent | b5cedde66d334d0bdd8886ecb6f66a7df93937b7 (diff) | |
download | llvm-9446d76e80aad5425d745e7404f10bf041b0ba8b.zip llvm-9446d76e80aad5425d745e7404f10bf041b0ba8b.tar.gz llvm-9446d76e80aad5425d745e7404f10bf041b0ba8b.tar.bz2 |
Fix an annoying little bug I found while debugging another LTO issue. Gold
requires the -plugin to come before any -plugin-opt options, we were passing
them the other way around. With this one can run (for example):
clang -o foo foo.c -O4 -Wl,-plugin-opt=generate-api-file
llvm-svn: 154357
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions