File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
source/Plugins/ObjectFile/JSON Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -102,9 +102,9 @@ class SectionList {
102
102
103
103
struct JSONSection {
104
104
std::string name;
105
- std::optional <lldb::SectionType> type;
106
- std::optional <uint64_t > address;
107
- std::optional <uint64_t > size;
105
+ llvm::Optional <lldb::SectionType> type;
106
+ llvm::Optional <uint64_t > address;
107
+ llvm::Optional <uint64_t > size;
108
108
};
109
109
110
110
class Section : public std ::enable_shared_from_this<Section>,
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ class ObjectFileJSON : public ObjectFile {
92
92
struct Header {
93
93
std::string triple;
94
94
std::string uuid;
95
- std::optional <ObjectFile::Type> type;
95
+ llvm::Optional <ObjectFile::Type> type;
96
96
};
97
97
98
98
struct Body {
@@ -104,7 +104,7 @@ class ObjectFileJSON : public ObjectFile {
104
104
ArchSpec m_arch;
105
105
UUID m_uuid;
106
106
ObjectFile::Type m_type;
107
- std::optional <uint64_t > m_size;
107
+ llvm::Optional <uint64_t > m_size;
108
108
std::vector<JSONSymbol> m_symbols;
109
109
std::vector<JSONSection> m_sections;
110
110
You can’t perform that action at this time.
0 commit comments