Allow linking against system libraries for almost everything (#1790)

This commit is contained in:
Tatsh
2019-02-16 08:32:52 -08:00
committed by Colby Klein
parent 021d494157
commit b8a79cd0f6
78 changed files with 4870 additions and 4776 deletions
+1 -1
View File
@@ -441,7 +441,7 @@ static bool GetRegionInfo( mach_port_t self, const void *address, vm_address_t &
mach_port_t unused;
vm_size_t size = 0;
vm_address_t start = vm_address_t( address );
kern_return_t ret = vm_region( self, &start, &size, VM_REGION_BASIC_INFO_64,
kern_return_t ret = vm_region_64( self, &start, &size, VM_REGION_BASIC_INFO_64,
(vm_region_info_t)&info, &infoCnt, &unused );
if( ret != KERN_SUCCESS ||
+3 -3
View File
@@ -9,7 +9,7 @@ struct Frame;
/* This contains the information necessary to backtrace a thread. */
struct BacktraceContext
{
#if defined(CPU_X86) || defined(CPU_X86_64)
#if defined(CPU_X86) || defined(CPU_X86_64) || defined(__APPLE__)
const void *ip, *bp, *sp;
#endif
@@ -56,7 +56,7 @@ void GetSignalBacktraceContext( BacktraceContext *ctx, const ucontext_t *uc );
* @author Glenn Maynard (c) 2003-2004
* @section LICENSE
* All rights reserved.
*
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
@@ -66,7 +66,7 @@ void GetSignalBacktraceContext( BacktraceContext *ctx, const ucontext_t *uc );
* copyright notice(s) and this permission notice appear in all copies of
* the Software and that both the above copyright notice(s) and this
* permission notice appear in supporting documentation.
*
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF