Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsubprograms.h
More file actions
Latest commit
45 lines (34 loc) · 1.1 KB
/
Copy pathsubprograms.h
File metadata and controls
45 lines (34 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
* Copyright (c) 2013, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#ifndefSUBPROGRAMS_
#defineSUBPROGRAMS_
#include<stdint.h>
#include"dwarf.h"
#include"common.h"
#defineSUBPROGRAMS_CACHE_MAGIC 0xcaceecac
#defineSUBPROGRAMS_CACHE_VERSION 1
#defineSUBPROGRAMS_CACHE_PATH ".atosl-cache"
#ifndefDW_LANG_Swift
#defineDW_LANG_Swift 0x1e
#endif
enumsubprograms_type_t {
SUBPROGRAMS_GLOBALS,
SUBPROGRAMS_CUS
};
structsubprograms_options_t {
intpersistent:1;
constchar*cache_dir;
};
structdwarf_subprogram_t*subprograms_load(Dwarf_Debugdbg,
uint8_tuuid[UUID_LEN],
enumsubprograms_type_ttype,
structsubprograms_options_t*options);
#endif/* SUBPROGRAMS_ */
/* vim:set ts=4 sw=4 sts=4 expandtab: */