aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2020-06-08 20:58:53 -0700
committerMircea Trofin <mtrofin@google.com>2020-06-15 12:01:43 -0700
commit695c7d6313d74dc02222f6497d4c4985d67f433f (patch)
tree50420388be6fb37ef187f4b3adf885980e32acfa /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parente07cf92377f97d942b726565a07993d8e410d926 (diff)
downloadllvm-695c7d6313d74dc02222f6497d4c4985d67f433f.zip
llvm-695c7d6313d74dc02222f6497d4c4985d67f433f.tar.gz
llvm-695c7d6313d74dc02222f6497d4c4985d67f433f.tar.bz2
[llvm] Added support for stand-alone cmake object libraries.
Summary: Currently, add_llvm_library would create an OBJECT library alongside of a STATIC / SHARED library, but losing the link interface (its elements would become dependencies instead). To support scenarios where linking an object library also brings in its usage requirements, this patch adds support for 'stand-alone' OBJECT libraries - i.e. without an accompanying SHARED/STATIC library, and maintaining the link interface defined by the user. The support is via a new option, OBJECT_ONLY, to avoid breaking changes - since just specifying "OBJECT" would currently imply also STATIC or SHARED, depending on BUILD_SHARED_LIBS. This is useful for cases where, for example, we want to build a part of a component separately. Using a STATIC target would incur the risk that symbols not referenced in the consumer would be dropped (which may be undesirable). The current application is the ML part of Analysis. It should be part of the Analysis component, so it may reference other analyses; and (in upcoming changes) it has dependencies on optional libraries. Reviewers: karies, davidxl Subscribers: mgorny, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D81447
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions