···22This file is part of Darling.
3344Copyright (C) 2017 Lubos Dolezel
55-55+66Darling is free software: you can redistribute it and/or modify
77it under the terms of the GNU General Public License as published by
88the Free Software Foundation, either version 3 of the License, or
99(at your option) any later version.
1010-1010+1111Darling is distributed in the hope that it will be useful,
1212but WITHOUT ANY WARRANTY; without even the implied warranty of
1313MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414GNU General Public License for more details.
1515-1515+1616You should have received a copy of the GNU General Public License
1717along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818*/
19192020void DBGAddDSYMURL(void) { }
2121void DBGBlockPath(void) { }
2222-void DBGCopyDSYMPropertyLists(void) { }
2322void DBGCopyDSYMURLForUUID(void) { }
2423void DBGCopyDSYMURLForUUIDWithOptions(void) { }
2525-void DBGCopyFullDSYMURLForUUID(void) { }
2624void DBGCopyFullDSYMURLForUUIDWithOptions(void) { }
2725void DBGCopyMatchingUUIDsForURL(void) { }
2826void DBGDwarfClose(void) { }
-49
src/DebugSymbols/functions.h
···11-/*
22-This file is part of Darling.
33-44-Copyright (C) 2017 Lubos Dolezel
55-66-Darling is free software: you can redistribute it and/or modify
77-it under the terms of the GNU General Public License as published by
88-the Free Software Foundation, either version 3 of the License, or
99-(at your option) any later version.
1010-1111-Darling is distributed in the hope that it will be useful,
1212-but WITHOUT ANY WARRANTY; without even the implied warranty of
1313-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414-GNU General Public License for more details.
1515-1616-You should have received a copy of the GNU General Public License
1717-along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818-*/
1919-2020-void DBGAddDSYMURL(void);
2121-void DBGBlockPath(void);
2222-void DBGCopyDSYMPropertyLists(void);
2323-void DBGCopyDSYMURLForUUID(void);
2424-void DBGCopyDSYMURLForUUIDWithOptions(void);
2525-void DBGCopyFullDSYMURLForUUID(void);
2626-void DBGCopyFullDSYMURLForUUIDWithOptions(void);
2727-void DBGCopyMatchingUUIDsForURL(void);
2828-void DBGDwarfClose(void);
2929-void DBGDwarfGetAttributeKey(void);
3030-void DBGDwarfGetCompileUnitFunctions(void);
3131-void DBGDwarfGetCompileUnitLineTable(void);
3232-void DBGDwarfGetCompileUnits(void);
3333-void DBGDwarfGetDIEObjectsForAddress(void);
3434-void DBGDwarfGetFirstChild(void);
3535-void DBGDwarfGetLinkMap(void);
3636-void DBGDwarfGetParent(void);
3737-void DBGDwarfGetSibling(void);
3838-void DBGDwarfGetTagKey(void);
3939-void DBGDwarfOpen(void);
4040-void DBGExplicitSearchPathAdd(void);
4141-void DBGExplicitSearchPathRemove(void);
4242-void DBGExplicitSearchPathRemoveAll(void);
4343-void DBGPauseWatchingPaths(void);
4444-void DBGRegisterObserver(void);
4545-void DBGResumeWatchingPaths(void);
4646-void DBGSpotlightStart(void);
4747-void DBGSpotlightStop(void);
4848-void DBGTerminate(void);
4949-void DBGUnregisterObserver(void);
···11+/*
22+This file is part of Darling.
33+44+Copyright (C) 2017 Lubos Dolezel
55+66+Darling is free software: you can redistribute it and/or modify
77+it under the terms of the GNU General Public License as published by
88+the Free Software Foundation, either version 3 of the License, or
99+(at your option) any later version.
1010+1111+Darling is distributed in the hope that it will be useful,
1212+but WITHOUT ANY WARRANTY; without even the implied warranty of
1313+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414+GNU General Public License for more details.
1515+1616+You should have received a copy of the GNU General Public License
1717+along with Darling. If not, see <http://www.gnu.org/licenses/>.
1818+*/
1919+2020+#include <CoreFoundation/CoreFoundation.h>
2121+2222+// https://github.com/apple/swift-lldb/blob/f1c2f6decd564d6530d1c57bdc5745e287f01e2a/source/Host/macosx/Symbols.cpp#L49-L50
2323+2424+CFURLRef DBGCopyFullDSYMURLForUUID(CFUUIDRef uuid, CFURLRef exec_url);
2525+CFDictionaryRef DBGCopyDSYMPropertyLists(CFURLRef dsym_url);
2626+2727+void DBGAddDSYMURL(void);
2828+void DBGBlockPath(void);
2929+void DBGCopyDSYMURLForUUID(void);
3030+void DBGCopyDSYMURLForUUIDWithOptions(void);
3131+void DBGCopyFullDSYMURLForUUIDWithOptions(void);
3232+void DBGCopyMatchingUUIDsForURL(void);
3333+void DBGDwarfClose(void);
3434+void DBGDwarfGetAttributeKey(void);
3535+void DBGDwarfGetCompileUnitFunctions(void);
3636+void DBGDwarfGetCompileUnitLineTable(void);
3737+void DBGDwarfGetCompileUnits(void);
3838+void DBGDwarfGetDIEObjectsForAddress(void);
3939+void DBGDwarfGetFirstChild(void);
4040+void DBGDwarfGetLinkMap(void);
4141+void DBGDwarfGetParent(void);
4242+void DBGDwarfGetSibling(void);
4343+void DBGDwarfGetTagKey(void);
4444+void DBGDwarfOpen(void);
4545+void DBGExplicitSearchPathAdd(void);
4646+void DBGExplicitSearchPathRemove(void);
4747+void DBGExplicitSearchPathRemoveAll(void);
4848+void DBGPauseWatchingPaths(void);
4949+void DBGRegisterObserver(void);
5050+void DBGResumeWatchingPaths(void);
5151+void DBGSpotlightStart(void);
5252+void DBGSpotlightStop(void);
5353+void DBGTerminate(void);
5454+void DBGUnregisterObserver(void);