================
@@ -66,6 +75,40 @@ struct LLDBBaseTelemetryInfo : public
llvm::telemetry::TelemetryInfo {
void serialize(llvm::telemetry::Serializer &serializer) const override;
};
+/// Describes an exit status.
+struct ExitDescription {
+ int exit_code;
+ std::string description;
+};
+
+struct TargetInfo : public LLDBBaseTelemetryInfo {
+ lldb::ModuleSP exec_mod;
+
+ // The same as the executable-module's UUID.
+ std::string target_uuid;
+ std::string arch_name;
+
+ // If true, this entry was emitted at the beginning of an event (eg., before
+ // the executable laod). Otherwise, it was emitted at the end of an event
+ // (eg., after the module and any dependency were loaded.)
+ bool is_start_entry;
+
+ // Describes the exit of the executable module.
----------------
JDevlieghere wrote:
```suggestion
/// Describes the exit of the executable module.
```
https://github.com/llvm/llvm-project/pull/127834
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits