[all-commits] [llvm/llvm-project] 7cd617: [lldb] Improve error handling in ObjectFileWasm (#...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Aug 19 16:00:52 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7cd61793edbb4e6dbc0fb92e5d6d85cabfa62b40
      https://github.com/llvm/llvm-project/commit/7cd61793edbb4e6dbc0fb92e5d6d85cabfa62b40
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-08-19 (Tue, 19 Aug 2025)

  Changed paths:
    M lldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp

  Log Message:
  -----------
  [lldb] Improve error handling in ObjectFileWasm (#154433)

Improve error handling in ObjectFileWasm by using helpers that wrap
their result in an llvm::Expected. The helper to read a Wasm string now
return an Expected<std::string> and I created a helper to parse 32-bit
ULEBs that returns an Expected<uint32_t>.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list