[Lldb-commits] [lldb] [lldb] Remove more workrounds for Android that have been fixed upstream (PR #124176)
Brad Smith via lldb-commits
lldb-commits at lists.llvm.org
Thu Jan 23 11:09:04 PST 2025
https://github.com/brad0 created https://github.com/llvm/llvm-project/pull/124176
Issues that were fixed 10+ years ago with Bionic libc.
>From 4e10a6b316a1562d96808db3d4447539b51e3179 Mon Sep 17 00:00:00 2001
From: Brad Smith <brad at comstyle.com>
Date: Thu, 23 Jan 2025 13:19:06 -0500
Subject: [PATCH] [lldb] Remove more workrounds for Android that have been
fixed upstream
Issues that were fixed 10+ years ago with Bionic libc.
---
lldb/source/Host/posix/ProcessLauncherPosixFork.cpp | 4 ----
.../ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp | 2 +-
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp b/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp
index 22bf698c71716e..7d856954684c49 100644
--- a/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp
+++ b/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp
@@ -24,10 +24,6 @@
#include <csignal>
#include <sstream>
-#ifdef __ANDROID__
-#define PT_TRACE_ME PTRACE_TRACEME
-#endif
-
#if defined(__linux__)
#include <sys/personality.h>
#endif
diff --git a/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp b/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
index b202898ff438a6..6e5617664f7feb 100644
--- a/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
+++ b/lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
@@ -8,7 +8,7 @@
#include "ObjectContainerBSDArchive.h"
-#if defined(_WIN32) || defined(__ANDROID__) || defined(_AIX)
+#if defined(_WIN32) || defined(_AIX)
// Defines from ar, missing on Windows
#define SARMAG 8
#define ARFMAG "`\n"
More information about the lldb-commits
mailing list