llvm/tools
Dan Liew 5340b5b3d9 [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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289488 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-12 23:07:22 +00:00
..
bugpoint
bugpoint-passes
dsymutil
gold
llc
lli
llvm-ar
llvm-as
llvm-as-fuzzer
llvm-bcanalyzer
llvm-c-test
llvm-cat
llvm-config [llvm-config] Fix bug where --libfiles and --names would produce 2016-12-12 23:07:22 +00:00
llvm-cov
llvm-cxxdump
llvm-cxxfilt
llvm-diff
llvm-dis
llvm-dwarfdump
llvm-dwp
llvm-extract
llvm-go
llvm-jitlistener
llvm-link
llvm-lto
llvm-lto2
llvm-mc
llvm-mc-fuzzer
llvm-mcmarkup
llvm-modextract
llvm-nm
llvm-objdump
llvm-opt-report
llvm-pdbdump
llvm-profdata
llvm-readobj
llvm-rtdyld
llvm-shlib
llvm-size
llvm-split
llvm-stress
llvm-strings
llvm-symbolizer
llvm-xray
lto
msbuild
obj2yaml [ObjectYAML] Support for DWARF debug_aranges 2016-12-09 00:26:44 +00:00
opt
sancov
sanstats
verify-uselistorder
xcode-toolchain
yaml2obj clang-format to fix post-commit feedback 2016-12-12 23:05:15 +00:00
CMakeLists.txt
LLVMBuild.txt