trisquel-icecat/icecat/toolkit/crashreporter/ipc/CrashReporterInitArgs.ipdlh
2025-10-06 02:35:48 -06:00

31 lines
No EOL
906 B
Text

// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
using mozilla::dom::NativeThreadId from "mozilla/dom/NativeThreadId.h";
namespace CrashReporter {
#if defined(XP_LINUX) && defined(MOZ_CRASHREPORTER) && defined(MOZ_OXIDIZED_BREAKPAD)
struct AuxvInfo {
uintptr_t programHeaderCount;
uintptr_t programHeaderAddress;
uintptr_t linuxGateAddress;
uintptr_t entryAddress;
};
struct CrashReporterInitArgs {
NativeThreadId threadId;
AuxvInfo auxvInfo;
};
#else // defined(XP_LINUX) && defined(MOZ_CRASHREPORTER) && defined(MOZ_OXIDIZED_BREAKPAD)
struct CrashReporterInitArgs {
NativeThreadId threadId;
};
#endif // defined(XP_LINUX) && defined(MOZ_CRASHREPORTER) && defined(MOZ_OXIDIZED_BREAKPAD)
} // namespace CrashReporter