forked from OSchip/llvm-project
Remove Plugins/Process/POSIX from include_directories
Summary: The files there can always be referred to using their full path, which is what most of the code has been doing already, so this makes the situation more consistent. Also fix the the code in the FreeBSD plugin to use the new paths. Reviewers: eugene, emaste Subscribers: lldb-commits, kettenis, mgorny, krytarowski Differential Revision: https://reviews.llvm.org/D31877 llvm-svn: 299933
This commit is contained in:
parent
695e437470
commit
f0a6d8ada3
|
@ -1,31 +1,5 @@
|
|||
include_directories(.)
|
||||
|
||||
if ( CMAKE_SYSTEM_NAME MATCHES "Linux" )
|
||||
include_directories(
|
||||
Plugins/Process/Linux
|
||||
Plugins/Process/POSIX
|
||||
)
|
||||
endif ()
|
||||
|
||||
if ( CMAKE_SYSTEM_NAME MATCHES "FreeBSD" )
|
||||
include_directories(
|
||||
Plugins/Process/FreeBSD
|
||||
Plugins/Process/POSIX
|
||||
)
|
||||
endif ()
|
||||
|
||||
if ( CMAKE_SYSTEM_NAME MATCHES "NetBSD" )
|
||||
include_directories(
|
||||
Plugins/Process/POSIX
|
||||
)
|
||||
endif ()
|
||||
|
||||
if ( CMAKE_SYSTEM_NAME MATCHES "OpenBSD" )
|
||||
include_directories(
|
||||
Plugins/Process/POSIX
|
||||
)
|
||||
endif ()
|
||||
|
||||
set(lldbBase_SOURCES
|
||||
lldb.cpp
|
||||
)
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
// Project includes
|
||||
#include "FreeBSDThread.h"
|
||||
#include "POSIXStopInfo.h"
|
||||
#include "Plugins/Process/POSIX/ProcessPOSIXLog.h"
|
||||
#include "Plugins/Process/Utility/RegisterContextFreeBSD_i386.h"
|
||||
#include "Plugins/Process/Utility/RegisterContextFreeBSD_mips64.h"
|
||||
#include "Plugins/Process/Utility/RegisterContextFreeBSD_powerpc.h"
|
||||
|
@ -33,7 +34,6 @@
|
|||
#include "Plugins/Process/Utility/UnwindLLDB.h"
|
||||
#include "ProcessFreeBSD.h"
|
||||
#include "ProcessMonitor.h"
|
||||
#include "ProcessPOSIXLog.h"
|
||||
#include "RegisterContextPOSIXProcessMonitor_arm.h"
|
||||
#include "RegisterContextPOSIXProcessMonitor_arm64.h"
|
||||
#include "RegisterContextPOSIXProcessMonitor_mips64.h"
|
||||
|
|
|
@ -10,15 +10,9 @@
|
|||
#ifndef liblldb_POSIXStopInfo_H_
|
||||
#define liblldb_POSIXStopInfo_H_
|
||||
|
||||
// C Includes
|
||||
// C++ Includes
|
||||
// Other libraries and framework includes
|
||||
// Project includes
|
||||
#include "lldb/Target/StopInfo.h"
|
||||
|
||||
#include "CrashReason.h"
|
||||
#include "FreeBSDThread.h"
|
||||
|
||||
#include "Plugins/Process/POSIX/CrashReason.h"
|
||||
#include "lldb/Target/StopInfo.h"
|
||||
#include <string>
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
|
|
@ -32,11 +32,11 @@
|
|||
#include "lldb/Target/Target.h"
|
||||
|
||||
#include "FreeBSDThread.h"
|
||||
#include "Plugins/Process/POSIX/ProcessPOSIXLog.h"
|
||||
#include "Plugins/Process/Utility/FreeBSDSignals.h"
|
||||
#include "Plugins/Process/Utility/InferiorCallPOSIX.h"
|
||||
#include "ProcessFreeBSD.h"
|
||||
#include "ProcessMonitor.h"
|
||||
#include "ProcessPOSIXLog.h"
|
||||
|
||||
// Other libraries and framework includes
|
||||
#include "lldb/Breakpoint/BreakpointLocation.h"
|
||||
|
|
|
@ -11,19 +11,13 @@
|
|||
#ifndef liblldb_ProcessFreeBSD_H_
|
||||
#define liblldb_ProcessFreeBSD_H_
|
||||
|
||||
// C Includes
|
||||
|
||||
// C++ Includes
|
||||
#include "Plugins/Process/POSIX/ProcessMessage.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Target/ThreadList.h"
|
||||
#include <mutex>
|
||||
#include <queue>
|
||||
#include <set>
|
||||
|
||||
// Other libraries and framework includes
|
||||
#include "ProcessFreeBSD.h"
|
||||
#include "ProcessMessage.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Target/ThreadList.h"
|
||||
|
||||
class ProcessMonitor;
|
||||
class FreeBSDThread;
|
||||
|
||||
|
|
|
@ -33,9 +33,9 @@
|
|||
|
||||
#include "FreeBSDThread.h"
|
||||
#include "Plugins/Process/POSIX/CrashReason.h"
|
||||
#include "Plugins/Process/POSIX/ProcessPOSIXLog.h"
|
||||
#include "ProcessFreeBSD.h"
|
||||
#include "ProcessMonitor.h"
|
||||
#include "ProcessPOSIXLog.h"
|
||||
|
||||
extern "C" {
|
||||
extern char **environ;
|
||||
|
|
Loading…
Reference in New Issue