File tree 2 files changed +9
-14
lines changed
lldb/source/Plugins/ObjectFile/XCOFF
2 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 8
8
// ===----------------------------------------------------------------------===//
9
9
10
10
#include " ObjectFileXCOFF.h"
11
-
12
- #include < algorithm>
13
- #include < cassert>
14
- #include < cstring>
15
- #include < unordered_map>
16
-
17
11
#include " lldb/Core/Module.h"
18
12
#include " lldb/Core/ModuleSpec.h"
19
13
#include " lldb/Core/PluginManager.h"
35
29
#include " llvm/BinaryFormat/XCOFF.h"
36
30
#include " llvm/Object/XCOFFObjectFile.h"
37
31
#include " llvm/Support/MemoryBuffer.h"
32
+ #include < algorithm>
33
+ #include < cassert>
34
+ #include < cstring>
35
+ #include < unordered_map>
38
36
39
37
using namespace llvm ;
40
38
using namespace lldb ;
@@ -110,10 +108,9 @@ size_t ObjectFileXCOFF::GetModuleSpecifications(
110
108
111
109
static uint32_t XCOFFHeaderSizeFromMagic (uint32_t magic) {
112
110
switch (magic) {
113
- /* TODO: 32bit not supported yet
114
- case XCOFF::XCOFF32:
115
- return sizeof(struct llvm::object::XCOFFFileHeader32);
116
- */
111
+ // TODO: 32bit not supported yet
112
+ // case XCOFF::XCOFF32:
113
+ // return sizeof(struct llvm::object::XCOFFFileHeader32);
117
114
118
115
case XCOFF::XCOFF64:
119
116
return sizeof (struct llvm ::object::XCOFFFileHeader64);
Original file line number Diff line number Diff line change 10
10
#ifndef LLDB_SOURCE_PLUGINS_OBJECTFILE_XCOFF_OBJECTFILEXCOFF_H
11
11
#define LLDB_SOURCE_PLUGINS_OBJECTFILE_XCOFF_OBJECTFILEXCOFF_H
12
12
13
- #include < cstdint>
14
-
15
- #include < vector>
16
-
17
13
#include " lldb/Symbol/ObjectFile.h"
18
14
#include " lldb/Utility/ArchSpec.h"
19
15
#include " lldb/Utility/FileSpec.h"
20
16
#include " lldb/Utility/UUID.h"
21
17
#include " lldb/lldb-private.h"
22
18
#include " llvm/Object/XCOFFObjectFile.h"
19
+ #include < cstdint>
20
+ #include < vector>
23
21
24
22
// / \class ObjectFileXCOFF
25
23
// / Generic XCOFF object file reader.
You can’t perform that action at this time.
0 commit comments