Skip to content

Commit

Permalink
Fix project settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
kstenerud committed Dec 9, 2016
1 parent e778306 commit 85f95b8
Show file tree
Hide file tree
Showing 10 changed files with 79 additions and 46 deletions.
44 changes: 28 additions & 16 deletions Mac/KSCrash-Mac.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions Source/Framework/KSCrashFramework.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@
#import "KSCrashSentry_Context.h"
#import "KSCrashState.h"
#import "KSJSONCodecObjC.h"
#import "KSMachineContext.h"
#import "KSSystemInfo.h"
#import "KSThread.h"
#import "NSData+GZip.h"

#endif /* KSCrashFramework_h */
1 change: 1 addition & 0 deletions Source/KSCrash-Tests/KSSignalInfo_Tests.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#import <XCTest/XCTest.h>

#import "KSSignalInfo.h"
#include <mach/exception_types.h>


@interface KSSignalInfo_Tests : XCTestCase @end
Expand Down
1 change: 1 addition & 0 deletions Source/KSCrash/Recording/KSCrashReport.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@

#include <errno.h>
#include <fcntl.h>
#include <mach/exception_types.h>
#include <mach-o/dyld.h>
#include <stdio.h>
#include <string.h>
Expand Down
1 change: 1 addition & 0 deletions Source/KSCrash/Recording/Tools/KSReturnCodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#include <mach/exception_types.h>
#include <mach/kern_return.h>
#include <stdlib.h>

#define RETURN_NAME_FOR_ENUM(A) case A: return #A

Expand Down
3 changes: 2 additions & 1 deletion Source/KSCrash/Recording/Tools/KSSignalInfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#include "KSSignalInfo.h"

#include <mach/exception_types.h>
#include <signal.h>
#include <stdlib.h>

Expand All @@ -50,7 +51,7 @@ typedef struct
static const KSSignalCodeInfo g_sigIllCodes[] =
{
ENUM_NAME_MAPPING(ILL_NOOP),
ENUM_NAME_MAPPING(EXC_CRASH),
ENUM_NAME_MAPPING(ILL_ILLOPC),
ENUM_NAME_MAPPING(ILL_ILLTRP),
ENUM_NAME_MAPPING(ILL_PRVOPC),
ENUM_NAME_MAPPING(ILL_ILLOPN),
Expand Down
5 changes: 2 additions & 3 deletions Source/KSCrash/Recording/Tools/KSSignalInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ extern "C" {
#endif


#include <mach/mach_types.h>
#include <stdint.h>


/** Get the name of a signal.
Expand Down Expand Up @@ -78,8 +78,7 @@ int kssignal_numFatalSignals(void);
*
* @return The matching signal, or 0 if not found.
*/
int kssignal_signalForMachException(int exception,
mach_exception_code_t code);
int kssignal_signalForMachException(int exception, int64_t code);

/** Get the mach exception equivalent of a signal.
*
Expand Down
28 changes: 18 additions & 10 deletions TVOS/KSCrash-TVOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
CB25A5C51DF220DB00EC2B02 /* KSCPU_Apple.c in Sources */ = {isa = PBXBuildFile; fileRef = CB25A5C31DF220DB00EC2B02 /* KSCPU_Apple.c */; };
CB25A5C61DF220DB00EC2B02 /* KSCPU.h in Headers */ = {isa = PBXBuildFile; fileRef = CB25A5C41DF220DB00EC2B02 /* KSCPU.h */; };
CB25A5E71DF2370300EC2B02 /* KSThread_Apple.c in Sources */ = {isa = PBXBuildFile; fileRef = CB25A5E51DF2370300EC2B02 /* KSThread_Apple.c */; };
CB25A5E81DF2370300EC2B02 /* KSThread.h in Headers */ = {isa = PBXBuildFile; fileRef = CB25A5E61DF2370300EC2B02 /* KSThread.h */; };
CB25A5E81DF2370300EC2B02 /* KSThread.h in Headers */ = {isa = PBXBuildFile; fileRef = CB25A5E61DF2370300EC2B02 /* KSThread.h */; settings = {ATTRIBUTES = (Public, ); }; };
CB25A5FF1DF23B7300EC2B02 /* KSDebug.c in Sources */ = {isa = PBXBuildFile; fileRef = CB25A5FD1DF23B7300EC2B02 /* KSDebug.c */; };
CB25A6001DF23B7300EC2B02 /* KSDebug.h in Headers */ = {isa = PBXBuildFile; fileRef = CB25A5FE1DF23B7300EC2B02 /* KSDebug.h */; };
CB25A60D1DF23F1C00EC2B02 /* KSCPU_Apple.h in Headers */ = {isa = PBXBuildFile; fileRef = CB25A60C1DF23F1C00EC2B02 /* KSCPU_Apple.h */; };
Expand All @@ -55,9 +55,11 @@
CB69B8EC1DC0F195002713B1 /* KSCrashReportStore.c in Sources */ = {isa = PBXBuildFile; fileRef = CB69B8EB1DC0F195002713B1 /* KSCrashReportStore.c */; };
CB8F1DDA1CCAF43A0022CDF0 /* KSCrashInstallation+Alert.h in Headers */ = {isa = PBXBuildFile; fileRef = CB8F1DD81CCAF43A0022CDF0 /* KSCrashInstallation+Alert.h */; settings = {ATTRIBUTES = (Public, ); }; };
CB8F1DDB1CCAF43A0022CDF0 /* KSCrashInstallation+Alert.m in Sources */ = {isa = PBXBuildFile; fileRef = CB8F1DD91CCAF43A0022CDF0 /* KSCrashInstallation+Alert.m */; };
CB9821B51DFA142800164220 /* KSMachineContext.h in Headers */ = {isa = PBXBuildFile; fileRef = CB9821B21DFA142800164220 /* KSMachineContext.h */; };
CB9821B51DFA142800164220 /* KSMachineContext.h in Headers */ = {isa = PBXBuildFile; fileRef = CB9821B21DFA142800164220 /* KSMachineContext.h */; settings = {ATTRIBUTES = (Public, ); }; };
CB9821B61DFA142800164220 /* KSMachineContext_Apple.c in Sources */ = {isa = PBXBuildFile; fileRef = CB9821B31DFA142800164220 /* KSMachineContext_Apple.c */; };
CB9821B71DFA142800164220 /* KSMachineContext_Apple.h in Headers */ = {isa = PBXBuildFile; fileRef = CB9821B41DFA142800164220 /* KSMachineContext_Apple.h */; };
CB9821D01DFB42DA00164220 /* KSReturnCodes.c in Sources */ = {isa = PBXBuildFile; fileRef = CB9821CE1DFB42DA00164220 /* KSReturnCodes.c */; };
CB9821D11DFB42DA00164220 /* KSReturnCodes.h in Headers */ = {isa = PBXBuildFile; fileRef = CB9821CF1DFB42DA00164220 /* KSReturnCodes.h */; };
CBA1A5361DD25043007B1CE7 /* KSCrashReportFixer.c in Sources */ = {isa = PBXBuildFile; fileRef = CBA1A5341DD25043007B1CE7 /* KSCrashReportFixer.c */; };
CBA1A5371DD25043007B1CE7 /* KSCrashReportFixer.h in Headers */ = {isa = PBXBuildFile; fileRef = CBA1A5351DD25043007B1CE7 /* KSCrashReportFixer.h */; settings = {ATTRIBUTES = (Private, ); }; };
CBA1A53C1DD25049007B1CE7 /* DemangleCPP.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CBA1A5381DD25049007B1CE7 /* DemangleCPP.cpp */; };
Expand Down Expand Up @@ -132,8 +134,8 @@
CBEE5D251CB86989005EAF61 /* KSJSONCodecObjC.h in Headers */ = {isa = PBXBuildFile; fileRef = CBEE5C821CB86989005EAF61 /* KSJSONCodecObjC.h */; settings = {ATTRIBUTES = (Public, ); }; };
CBEE5D261CB86989005EAF61 /* KSJSONCodecObjC.m in Sources */ = {isa = PBXBuildFile; fileRef = CBEE5C831CB86989005EAF61 /* KSJSONCodecObjC.m */; };
CBEE5D271CB86989005EAF61 /* KSLogger.h in Headers */ = {isa = PBXBuildFile; fileRef = CBEE5C841CB86989005EAF61 /* KSLogger.h */; settings = {ATTRIBUTES = (Private, ); }; };
CBEE5D291CB86989005EAF61 /* KSMach.c in Sources */ = {isa = PBXBuildFile; fileRef = CBEE5C861CB86989005EAF61 /* KSMach.c */; };
CBEE5D2A1CB86989005EAF61 /* KSMach.h in Headers */ = {isa = PBXBuildFile; fileRef = CBEE5C871CB86989005EAF61 /* KSMach.h */; settings = {ATTRIBUTES = (Private, ); }; };
CBEE5D291CB86989005EAF61 /* KSMemory_Apple.c in Sources */ = {isa = PBXBuildFile; fileRef = CBEE5C861CB86989005EAF61 /* KSMemory_Apple.c */; };
CBEE5D2A1CB86989005EAF61 /* KSMemory.h in Headers */ = {isa = PBXBuildFile; fileRef = CBEE5C871CB86989005EAF61 /* KSMemory.h */; settings = {ATTRIBUTES = (Private, ); }; };
CBEE5D2B1CB86989005EAF61 /* KSCPU_arm_Apple.c in Sources */ = {isa = PBXBuildFile; fileRef = CBEE5C881CB86989005EAF61 /* KSCPU_arm_Apple.c */; };
CBEE5D2C1CB86989005EAF61 /* KSCPU_arm64_Apple.c in Sources */ = {isa = PBXBuildFile; fileRef = CBEE5C891CB86989005EAF61 /* KSCPU_arm64_Apple.c */; };
CBEE5D2D1CB86989005EAF61 /* KSCPU_x86_32_Apple.c in Sources */ = {isa = PBXBuildFile; fileRef = CBEE5C8A1CB86989005EAF61 /* KSCPU_x86_32_Apple.c */; };
Expand Down Expand Up @@ -272,6 +274,8 @@
CB9821B21DFA142800164220 /* KSMachineContext.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KSMachineContext.h; sourceTree = "<group>"; };
CB9821B31DFA142800164220 /* KSMachineContext_Apple.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = KSMachineContext_Apple.c; sourceTree = "<group>"; };
CB9821B41DFA142800164220 /* KSMachineContext_Apple.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KSMachineContext_Apple.h; sourceTree = "<group>"; };
CB9821CE1DFB42DA00164220 /* KSReturnCodes.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = KSReturnCodes.c; sourceTree = "<group>"; };
CB9821CF1DFB42DA00164220 /* KSReturnCodes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KSReturnCodes.h; sourceTree = "<group>"; };
CBA1A5341DD25043007B1CE7 /* KSCrashReportFixer.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = KSCrashReportFixer.c; sourceTree = "<group>"; };
CBA1A5351DD25043007B1CE7 /* KSCrashReportFixer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KSCrashReportFixer.h; sourceTree = "<group>"; };
CBA1A5381DD25049007B1CE7 /* DemangleCPP.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DemangleCPP.cpp; sourceTree = "<group>"; };
Expand Down Expand Up @@ -348,8 +352,8 @@
CBEE5C821CB86989005EAF61 /* KSJSONCodecObjC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KSJSONCodecObjC.h; sourceTree = "<group>"; };
CBEE5C831CB86989005EAF61 /* KSJSONCodecObjC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KSJSONCodecObjC.m; sourceTree = "<group>"; };
CBEE5C841CB86989005EAF61 /* KSLogger.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KSLogger.h; sourceTree = "<group>"; };
CBEE5C861CB86989005EAF61 /* KSMach.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = KSMach.c; sourceTree = "<group>"; };
CBEE5C871CB86989005EAF61 /* KSMach.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KSMach.h; sourceTree = "<group>"; };
CBEE5C861CB86989005EAF61 /* KSMemory_Apple.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = KSMemory_Apple.c; sourceTree = "<group>"; };
CBEE5C871CB86989005EAF61 /* KSMemory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KSMemory.h; sourceTree = "<group>"; };
CBEE5C881CB86989005EAF61 /* KSCPU_arm_Apple.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = KSCPU_arm_Apple.c; sourceTree = "<group>"; };
CBEE5C891CB86989005EAF61 /* KSCPU_arm64_Apple.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = KSCPU_arm64_Apple.c; sourceTree = "<group>"; };
CBEE5C8A1CB86989005EAF61 /* KSCPU_x86_32_Apple.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = KSCPU_x86_32_Apple.c; sourceTree = "<group>"; };
Expand Down Expand Up @@ -665,15 +669,17 @@
CBEE5C831CB86989005EAF61 /* KSJSONCodecObjC.m */,
CB69B8E01DC0F11C002713B1 /* KSLogger.c */,
CBEE5C841CB86989005EAF61 /* KSLogger.h */,
CBEE5C861CB86989005EAF61 /* KSMach.c */,
CBEE5C871CB86989005EAF61 /* KSMach.h */,
CBEE5C861CB86989005EAF61 /* KSMemory_Apple.c */,
CBEE5C871CB86989005EAF61 /* KSMemory.h */,
CBEE5C8C1CB86989005EAF61 /* KSMachApple.h */,
CB9821B21DFA142800164220 /* KSMachineContext.h */,
CB9821B31DFA142800164220 /* KSMachineContext_Apple.c */,
CB9821B41DFA142800164220 /* KSMachineContext_Apple.h */,
CBEE5C8D1CB86989005EAF61 /* KSObjC.c */,
CBEE5C8E1CB86989005EAF61 /* KSObjC.h */,
CBEE5C8F1CB86989005EAF61 /* KSObjCApple.h */,
CB9821CE1DFB42DA00164220 /* KSReturnCodes.c */,
CB9821CF1DFB42DA00164220 /* KSReturnCodes.h */,
CBEE5C921CB86989005EAF61 /* KSSignalInfo.c */,
CBEE5C931CB86989005EAF61 /* KSSignalInfo.h */,
CBEE5C951CB86989005EAF61 /* KSString.c */,
Expand Down Expand Up @@ -838,7 +844,7 @@
CBEE5CFE1CB86989005EAF61 /* KSCrashReportStore.h in Headers */,
CBEE5D781CB86989005EAF61 /* SwiftStrings.h in Headers */,
CBEE5D711CB86989005EAF61 /* DemangleNodes.h in Headers */,
CBEE5D2A1CB86989005EAF61 /* KSMach.h in Headers */,
CBEE5D2A1CB86989005EAF61 /* KSMemory.h in Headers */,
CBEE5D701CB86989005EAF61 /* Demangle.h in Headers */,
CB5633D31DD53C0A0023CEB6 /* KSCrashSentry_Context.h in Headers */,
CBEE5CEC1CB86989005EAF61 /* StringRef.h in Headers */,
Expand All @@ -861,6 +867,7 @@
CBEE5DBE1CBC14CF005EAF61 /* NSString+URLEncode.h in Headers */,
CBEE5D581CB86989005EAF61 /* KSVarArgs.h in Headers */,
CBEE5CED1CB86989005EAF61 /* llvm-config.h in Headers */,
CB9821D11DFB42DA00164220 /* KSReturnCodes.h in Headers */,
CBEE5CEB1CB86989005EAF61 /* Optional.h in Headers */,
CBEE5D391CB86989005EAF61 /* KSString.h in Headers */,
CBEE5CF81CB86989005EAF61 /* KSCrashContext.h in Headers */,
Expand Down Expand Up @@ -1099,7 +1106,7 @@
CBEE5CF61CB86989005EAF61 /* KSCrashC.c in Sources */,
CB69B8D71DC044A7002713B1 /* RFC3339UTFString.c in Sources */,
CBEE5D571CB86989005EAF61 /* Container+DeepSearch.m in Sources */,
CBEE5D291CB86989005EAF61 /* KSMach.c in Sources */,
CBEE5D291CB86989005EAF61 /* KSMemory_Apple.c in Sources */,
03082CD71D91822300935324 /* KSZombie.c in Sources */,
CBEE5D641CB86989005EAF61 /* KSCrashReportSinkVictory.m in Sources */,
CBEE5D2B1CB86989005EAF61 /* KSCPU_arm_Apple.c in Sources */,
Expand Down Expand Up @@ -1127,6 +1134,7 @@
CBEE5D5E1CB86989005EAF61 /* KSCrashReportSinkEMail.m in Sources */,
CBEE5D301CB86989005EAF61 /* KSObjC.c in Sources */,
CBA1A53E1DD25049007B1CE7 /* DemangleSwift.cpp in Sources */,
CB9821D01DFB42DA00164220 /* KSReturnCodes.c in Sources */,
CBEE5D6A1CB86989005EAF61 /* KSHTTPRequestSender.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down
Loading

0 comments on commit 85f95b8

Please sign in to comment.