forked from OSchip/llvm-project
[lldb/fuzzer] Moving target fuzzer into separate subdirectory
Moving lldb-target-fuzzer into its own subdirectory for better organization and modularity. Differential revision: https://reviews.llvm.org/D126507
This commit is contained in:
parent
d1440ccaa5
commit
5451c4b4fb
|
@ -1,18 +1,2 @@
|
|||
add_subdirectory(lldb-target-fuzzer)
|
||||
add_subdirectory(utils)
|
||||
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
Support
|
||||
)
|
||||
|
||||
add_llvm_fuzzer(lldb-target-fuzzer
|
||||
EXCLUDE_FROM_ALL
|
||||
lldb-target-fuzzer.cpp
|
||||
)
|
||||
|
||||
if(TARGET lldb-target-fuzzer)
|
||||
target_link_libraries(lldb-target-fuzzer
|
||||
PRIVATE
|
||||
liblldb
|
||||
lldbFuzzerUtils
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
set(LLVM_LINK_COMPONENTS
|
||||
Support
|
||||
)
|
||||
|
||||
add_llvm_fuzzer(lldb-target-fuzzer
|
||||
EXCLUDE_FROM_ALL
|
||||
lldb-target-fuzzer.cpp
|
||||
)
|
||||
|
||||
if(TARGET lldb-target-fuzzer)
|
||||
target_include_directories(lldb-target-fuzzer PRIVATE ..)
|
||||
target_link_libraries(lldb-target-fuzzer
|
||||
PRIVATE
|
||||
liblldb
|
||||
lldbFuzzerUtils
|
||||
)
|
||||
endif()
|
|
@ -6,7 +6,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include <utils/TempFile.h>
|
||||
#include "utils/TempFile.h"
|
||||
|
||||
#include "lldb/API/SBDebugger.h"
|
||||
#include "lldb/API/SBTarget.h"
|
Loading…
Reference in New Issue