diff options
Diffstat (limited to 'tools/profiler')
-rw-r--r-- | tools/profiler/core/PlatformMacros.h | 2 | ||||
-rw-r--r-- | tools/profiler/lul/LulElfInt.h | 32 | ||||
-rw-r--r-- | tools/profiler/lul/LulPlatformMacros.h | 3 |
3 files changed, 0 insertions, 37 deletions
diff --git a/tools/profiler/core/PlatformMacros.h b/tools/profiler/core/PlatformMacros.h index 0bedbd512f..de74531e8e 100644 --- a/tools/profiler/core/PlatformMacros.h +++ b/tools/profiler/core/PlatformMacros.h @@ -12,7 +12,6 @@ and OS_ macros are defined too, since they are sometimes convenient. */ -#undef SPS_PLAT_arm_android #undef SPS_PLAT_amd64_linux #undef SPS_PLAT_x86_linux #undef SPS_PLAT_amd64_darwin @@ -24,7 +23,6 @@ #undef SPS_ARCH_x86 #undef SPS_ARCH_amd64 -#undef SPS_OS_android #undef SPS_OS_linux #undef SPS_OS_darwin #undef SPS_OS_windows diff --git a/tools/profiler/lul/LulElfInt.h b/tools/profiler/lul/LulElfInt.h index 72075dc297..98efc655c3 100644 --- a/tools/profiler/lul/LulElfInt.h +++ b/tools/profiler/lul/LulElfInt.h @@ -31,7 +31,6 @@ // This file is derived from the following files in // toolkit/crashreporter/google-breakpad: -// src/common/android/include/elf.h // src/common/linux/elfutils.h // src/common/linux/file_id.h // src/common/linux/elfutils-inl.h @@ -54,38 +53,7 @@ // elfutils.h: Utilities for dealing with ELF files. // -#if defined(LUL_OS_android) - -// From toolkit/crashreporter/google-breakpad/src/common/android/include/elf.h -// The Android headers don't always define this constant. -#ifndef EM_X86_64 -#define EM_X86_64 62 -#endif - -#ifndef EM_PPC64 -#define EM_PPC64 21 -#endif - -#ifndef EM_S390 -#define EM_S390 22 -#endif - -#ifndef NT_GNU_BUILD_ID -#define NT_GNU_BUILD_ID 3 -#endif - -#define ElfW(type) _ElfW (Elf, ELFSIZE, type) -#define _ElfW(e,w,t) _ElfW_1 (e, w, _##t) -#define _ElfW_1(e,w,t) e##w##t - -//FIXME -extern "C" { - extern char* basename(const char* path); -}; -#else - # include <link.h> -#endif namespace lul { diff --git a/tools/profiler/lul/LulPlatformMacros.h b/tools/profiler/lul/LulPlatformMacros.h index 6464da0678..7004e594b2 100644 --- a/tools/profiler/lul/LulPlatformMacros.h +++ b/tools/profiler/lul/LulPlatformMacros.h @@ -15,14 +15,11 @@ #undef LUL_PLAT_x64_linux #undef LUL_PLAT_x86_linux -#undef LUL_PLAT_arm_android -#undef LUL_PLAT_x86_android #undef LUL_ARCH_arm #undef LUL_ARCH_x86 #undef LUL_ARCH_x64 -#undef LUL_OS_android #undef LUL_OS_linux #if defined(__linux__) && defined(__x86_64__) |