Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CMake] Add explicit dependencies to plugins
Summary: This patch does two things. First it updates all the ABI plugins with accurate dependencies, and second it adds a tracking mechanism for add_lldb_library to denote plugin libraries, allowing us to build up a list of all the configured plugins. This list of generated plugins will be used during generating liblldb so that we can link all the plugins into the library. If this patch looks good I will update all the other plugins in subsequent patches. Reviewers: labath, zturner Subscribers: nemanjai, mgorny, lldb-commits, jgosnell Differential Revision: https://reviews.llvm.org/D29348 llvm-svn: 293696
- Loading branch information
Chris Bieneman
committed
Jan 31, 2017
1 parent
9b254fd
commit cee3837
Showing
14 changed files
with
111 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
add_lldb_library(lldbPluginABIMacOSX_arm | ||
add_lldb_library(lldbPluginABIMacOSX_arm PLUGIN | ||
ABIMacOSX_arm.cpp | ||
|
||
LINK_LIBS | ||
lldbCore | ||
lldbSymbol | ||
lldbTarget | ||
lldbPluginProcessUtility | ||
LINK_COMPONENTS | ||
Support | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
add_lldb_library(lldbPluginABIMacOSX_arm64 | ||
add_lldb_library(lldbPluginABIMacOSX_arm64 PLUGIN | ||
ABIMacOSX_arm64.cpp | ||
|
||
LINK_LIBS | ||
lldbCore | ||
lldbSymbol | ||
lldbTarget | ||
LINK_COMPONENTS | ||
Support | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
add_lldb_library(lldbPluginABIMacOSX_i386 | ||
add_lldb_library(lldbPluginABIMacOSX_i386 PLUGIN | ||
ABIMacOSX_i386.cpp | ||
|
||
LINK_LIBS | ||
lldbCore | ||
lldbSymbol | ||
lldbTarget | ||
LINK_COMPONENTS | ||
Support | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
add_lldb_library(lldbPluginABISysV_arm | ||
add_lldb_library(lldbPluginABISysV_arm PLUGIN | ||
ABISysV_arm.cpp | ||
|
||
LINK_LIBS | ||
lldbCore | ||
lldbSymbol | ||
lldbTarget | ||
lldbPluginProcessUtility | ||
LINK_COMPONENTS | ||
Support | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
add_lldb_library(lldbPluginABISysV_arm64 | ||
add_lldb_library(lldbPluginABISysV_arm64 PLUGIN | ||
ABISysV_arm64.cpp | ||
|
||
LINK_LIBS | ||
lldbCore | ||
lldbSymbol | ||
lldbTarget | ||
LINK_COMPONENTS | ||
Support | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
add_lldb_library(lldbPluginABISysV_hexagon | ||
add_lldb_library(lldbPluginABISysV_hexagon PLUGIN | ||
ABISysV_hexagon.cpp | ||
|
||
LINK_LIBS | ||
lldbCore | ||
lldbSymbol | ||
lldbTarget | ||
LINK_COMPONENTS | ||
Support | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
add_lldb_library(lldbPluginABISysV_i386 | ||
add_lldb_library(lldbPluginABISysV_i386 PLUGIN | ||
ABISysV_i386.cpp | ||
|
||
LINK_LIBS | ||
lldbCore | ||
lldbSymbol | ||
lldbTarget | ||
LINK_COMPONENTS | ||
Support | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
add_lldb_library(lldbPluginABISysV_mips | ||
add_lldb_library(lldbPluginABISysV_mips PLUGIN | ||
ABISysV_mips.cpp | ||
|
||
LINK_LIBS | ||
lldbCore | ||
lldbSymbol | ||
lldbTarget | ||
LINK_COMPONENTS | ||
Support | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
add_lldb_library(lldbPluginABISysV_mips64 | ||
add_lldb_library(lldbPluginABISysV_mips64 PLUGIN | ||
ABISysV_mips64.cpp | ||
|
||
LINK_LIBS | ||
lldbCore | ||
lldbSymbol | ||
lldbTarget | ||
LINK_COMPONENTS | ||
Support | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
add_lldb_library(lldbPluginABISysV_ppc | ||
add_lldb_library(lldbPluginABISysV_ppc PLUGIN | ||
ABISysV_ppc.cpp | ||
|
||
LINK_LIBS | ||
lldbCore | ||
lldbSymbol | ||
lldbTarget | ||
LINK_COMPONENTS | ||
Support | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
add_lldb_library(lldbPluginABISysV_ppc64 | ||
add_lldb_library(lldbPluginABISysV_ppc64 PLUGIN | ||
ABISysV_ppc64.cpp | ||
|
||
LINK_LIBS | ||
lldbCore | ||
lldbSymbol | ||
lldbTarget | ||
LINK_COMPONENTS | ||
Support | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
add_lldb_library(lldbPluginABISysV_s390x | ||
add_lldb_library(lldbPluginABISysV_s390x PLUGIN | ||
ABISysV_s390x.cpp | ||
|
||
LINK_LIBS | ||
lldbCore | ||
lldbSymbol | ||
lldbTarget | ||
LINK_COMPONENTS | ||
Support | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
add_lldb_library(lldbPluginABISysV_x86_64 | ||
add_lldb_library(lldbPluginABISysV_x86_64 PLUGIN | ||
ABISysV_x86_64.cpp | ||
|
||
LINK_LIBS | ||
lldbCore | ||
lldbSymbol | ||
lldbTarget | ||
LINK_COMPONENTS | ||
Support | ||
) |