Skip to content

Commit c09727e

Browse files
committed
[lldb] Adjust SymbolFileJSON for stable/20221013
1 parent ce2485f commit c09727e

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

lldb/include/lldb/Symbol/Symbol.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
namespace lldb_private {
2121

2222
struct JSONSymbol {
23-
std::optional<uint64_t> address;
24-
std::optional<uint64_t> value;
25-
std::optional<uint64_t> size;
26-
std::optional<uint64_t> id;
27-
std::optional<lldb::SymbolType> type;
23+
llvm::Optional<uint64_t> address;
24+
llvm::Optional<uint64_t> value;
25+
llvm::Optional<uint64_t> size;
26+
llvm::Optional<uint64_t> id;
27+
llvm::Optional<lldb::SymbolType> type;
2828
std::string name;
2929
};
3030

lldb/source/Plugins/ObjectFile/JSON/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@ add_lldb_library(lldbPluginObjectFileJSON PLUGIN
88
lldbUtility
99
LINK_COMPONENTS
1010
Support
11-
TargetParser
1211
)

lldb/source/Plugins/SymbolFile/JSON/SymbolFileJSON.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class SymbolFileJSON : public lldb_private::SymbolFileCommon {
8282
lldb::CompUnitSP ParseCompileUnitAtIndex(uint32_t index) override;
8383

8484
Type *ResolveTypeUID(lldb::user_id_t type_uid) override { return nullptr; }
85-
std::optional<ArrayInfo> GetDynamicArrayInfoForUID(
85+
llvm::Optional<ArrayInfo> GetDynamicArrayInfoForUID(
8686
lldb::user_id_t type_uid,
8787
const lldb_private::ExecutionContext *exe_ctx) override {
8888
return std::nullopt;

0 commit comments

Comments
 (0)