commit | c5151543236bd213b8595a079cf9b1d26de4eeb1 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Mon Apr 09 23:53:34 2012 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Mon Apr 09 23:53:34 2012 +0000 |
tree | 8fba527a0369bea134e4dadabb8da66fff400e4f | |
parent | 2ca35e6ce46a1edec69d85aa1cf7db16b9a012f0 [diff] |
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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154357 91177308-0d34-0410-b5e6-96231b3b80d8