diff options
| author | Dan Liew <dan@su-root.co.uk> | 2016-12-12 23:07:22 +0000 |
|---|---|---|
| committer | Dan Liew <dan@su-root.co.uk> | 2016-12-12 23:07:22 +0000 |
| commit | 197d2f0df32a342d90013b7d1434cbae230e68dd (patch) | |
| tree | d04291145c37c3110e389b76be70ea9be375eda6 /compiler-rt | |
| parent | 88458c31e74ea6d32a2f438d7531814875f438dd (diff) | |
| download | bcm5719-llvm-197d2f0df32a342d90013b7d1434cbae230e68dd.tar.gz bcm5719-llvm-197d2f0df32a342d90013b7d1434cbae230e68dd.zip | |
[llvm-config] Fix bug where `--libfiles` and `--names` would produce
incorrect output when LLVM is built with `LLVM_BUILD_LLVM_DYLIB`.
`llvm-config` previously produced output like this
```
$ llvm-config --libfiles
/usr/lib/liblibLLVM-4.0svn.so.so
$ llvm-config --libnames
liblibLLVM-4.0svn.so.so
```
The library prefix and shared library extension were added to
the library name twice which was wrong.
I wanted to write a test cases for this but it looks like **all**
`llvm-config` tests were disabled by r260386 so I'll leave this for
now.
Subscribers: llvm-commits, tstellarAMD
Reviewers: beanz, DiamondLovesYou, axw
Differential Revision: https://reviews.llvm.org/D27393
llvm-svn: 289488
Diffstat (limited to 'compiler-rt')
0 files changed, 0 insertions, 0 deletions

