[Lldb-commits] [lldb] r289801 - Remove linux/personality.h wrapper

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 15 02:47:40 PST 2016


Author: labath
Date: Thu Dec 15 04:47:40 2016
New Revision: 289801

URL: http://llvm.org/viewvc/llvm-project?rev=289801&view=rev
Log:
Remove linux/personality.h wrapper

This code is currently unused.

Removing it should make porting of the linux plugin to NetBSD easier, and we can
always add it later if needed.

Removed:
    lldb/trunk/include/lldb/Host/linux/Personality.h
Modified:
    lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp

Removed: lldb/trunk/include/lldb/Host/linux/Personality.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Host/linux/Personality.h?rev=289800&view=auto
==============================================================================
--- lldb/trunk/include/lldb/Host/linux/Personality.h (original)
+++ lldb/trunk/include/lldb/Host/linux/Personality.h (removed)
@@ -1,25 +0,0 @@
-//===-- Personality.h -------------------------------------------*- C++ -*-===//
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-// This file defines personality functions & structures
-
-#ifndef liblldb_Host_linux_Personality_h_
-#define liblldb_Host_linux_Personality_h_
-
-#ifdef __ANDROID__
-#include <android/api-level.h>
-#endif
-
-#if defined(__ANDROID_API__) && __ANDROID_API__ < 21
-#include <linux/personality.h>
-#else
-#include <sys/personality.h>
-#endif
-
-#endif // liblldb_Host_linux_Personality_h_

Modified: lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp?rev=289801&r1=289800&r2=289801&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp Thu Dec 15 04:47:40 2016
@@ -58,7 +58,6 @@
 #include <sys/user.h>
 #include <sys/wait.h>
 
-#include "lldb/Host/linux/Personality.h"
 #include "lldb/Host/linux/Ptrace.h"
 #include "lldb/Host/linux/Uio.h"
 




More information about the lldb-commits mailing list