DebugSymbols.h
 1  /*
 2  This file is part of Darling.
 3  
 4  Copyright (C) 2017 Lubos Dolezel
 5  
 6  Darling is free software: you can redistribute it and/or modify
 7  it under the terms of the GNU General Public License as published by
 8  the Free Software Foundation, either version 3 of the License, or
 9  (at your option) any later version.
10  
11  Darling is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  GNU General Public License for more details.
15  
16  You should have received a copy of the GNU General Public License
17  along with Darling.  If not, see <http://www.gnu.org/licenses/>.
18  */
19  
20  #include <CoreFoundation/CoreFoundation.h>
21  
22  // https://github.com/apple/swift-lldb/blob/f1c2f6decd564d6530d1c57bdc5745e287f01e2a/source/Host/macosx/Symbols.cpp#L49-L50
23  
24  CFURLRef DBGCopyFullDSYMURLForUUID(CFUUIDRef uuid, CFURLRef exec_url);
25  CFDictionaryRef DBGCopyDSYMPropertyLists(CFURLRef dsym_url);
26  
27  void DBGAddDSYMURL(void);
28  void DBGBlockPath(void);
29  void DBGCopyDSYMURLForUUID(void);
30  void DBGCopyDSYMURLForUUIDWithOptions(void);
31  void DBGCopyFullDSYMURLForUUIDWithOptions(void);
32  void DBGCopyMatchingUUIDsForURL(void);
33  void DBGDwarfClose(void);
34  void DBGDwarfGetAttributeKey(void);
35  void DBGDwarfGetCompileUnitFunctions(void);
36  void DBGDwarfGetCompileUnitLineTable(void);
37  void DBGDwarfGetCompileUnits(void);
38  void DBGDwarfGetDIEObjectsForAddress(void);
39  void DBGDwarfGetFirstChild(void);
40  void DBGDwarfGetLinkMap(void);
41  void DBGDwarfGetParent(void);
42  void DBGDwarfGetSibling(void);
43  void DBGDwarfGetTagKey(void);
44  void DBGDwarfOpen(void);
45  void DBGExplicitSearchPathAdd(void);
46  void DBGExplicitSearchPathRemove(void);
47  void DBGExplicitSearchPathRemoveAll(void);
48  void DBGPauseWatchingPaths(void);
49  void DBGRegisterObserver(void);
50  void DBGResumeWatchingPaths(void);
51  void DBGSpotlightStart(void);
52  void DBGSpotlightStop(void);
53  void DBGTerminate(void);
54  void DBGUnregisterObserver(void);