llvm-6502/tools
JF Bastien 6a829ed9d4 Fix llvm-config to emit the linker flag for the combined shared object built by autoconfig/make instead of the individual components.
Summary:
When LLVM is configured to build shared libraries, CMake builds each component as it's own shared object, while autoconfig/make builds them statically and then links them all together to create a single shared object. This change adds compile time config flags to `llvm-config` so it can know whether LLVM's components are separated or not and act accordingly.

This fixes `llvm-config` instead of fixing the makefiles to behave like CMake because, AIUI, LLVM's autoconfig/make build system is on the way out anyway.

This change only affects `llvm-config` from builds that use autoconfig/make.

Reviewers: jfb

Subscribers: echristo, dschuff, llvm-commits

Differential Revision: http://reviews.llvm.org/D11392

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243297 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-27 18:26:30 +00:00
..
bugpoint bugpoint: make the number of trim iterations a compile-time constant 2015-07-26 15:18:45 +00:00
bugpoint-passes
dsymutil [dsymutil] Implement support for universal mach-o object files. 2015-07-24 06:41:11 +00:00
gold Update for r243115 which changed the DataLayout API on TargetMachine but 2015-07-24 17:23:09 +00:00
llc Remove access to the DataLayout in the TargetMachine 2015-07-24 16:04:22 +00:00
lli Remove access to the DataLayout in the TargetMachine 2015-07-24 16:04:22 +00:00
llvm-ar
llvm-as
llvm-bcanalyzer
llvm-c-test
llvm-config Fix llvm-config to emit the linker flag for the combined shared object built by autoconfig/make instead of the individual components. 2015-07-27 18:26:30 +00:00
llvm-cov
llvm-cxxdump
llvm-diff
llvm-dis
llvm-dwarfdump [llvm-dwarfump] Don't rely on global state, part 3. 2015-07-26 05:35:59 +00:00
llvm-extract
llvm-go
llvm-jitlistener
llvm-link
llvm-lto
llvm-mc
llvm-mcmarkup
llvm-nm
llvm-objdump [llvm-objdump] Add -D and --disassemble-all flags that attempt disassembly on all sections instead of just text sections. 2015-07-23 20:58:49 +00:00
llvm-pdbdump
llvm-profdata
llvm-readobj [llvm-reaobj] Display COFF-specific sections/tables only if the object is COFF. 2015-07-24 02:14:20 +00:00
llvm-rtdyld
llvm-shlib
llvm-size
llvm-stress
llvm-symbolizer
lto
macho-dump
msbuild
obj2yaml Use helper function. NFC. 2015-07-23 12:51:44 +00:00
opt
verify-uselistorder
yaml2obj
CMakeLists.txt [CMake] Projects supported via LLVM_EXTERNAL_*_SOURCE_DIR need to be explicitly specified. 2015-07-21 15:53:09 +00:00
LLVMBuild.txt
Makefile