[all-commits] [llvm/llvm-project] e696bc: [NFC][YAML] Add `IO::error()`

Vitaly Buka via All-commits all-commits at lists.llvm.org
Tue Jan 21 00:33:57 PST 2025


  Branch: refs/heads/users/vitalybuka/spr/yaml-dont-validate-fillsize-after-error
  Home:   https://github.com/llvm/llvm-project
  Commit: e696bc48465e52ba4f98bb6c3edfb132139fa3c2
      https://github.com/llvm/llvm-project/commit/e696bc48465e52ba4f98bb6c3edfb132139fa3c2
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/include/llvm/Support/YAMLTraits.h
    M llvm/lib/Support/YAMLTraits.cpp

  Log Message:
  -----------
  [NFC][YAML] Add `IO::error()`



Pull Request: https://github.com/llvm/llvm-project/pull/123475


  Commit: 0caa47f16a62e747c8fddea12ac6b9fd7acadec9
      https://github.com/llvm/llvm-project/commit/0caa47f16a62e747c8fddea12ac6b9fd7acadec9
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/lib/ObjectYAML/ELFYAML.cpp
    M llvm/lib/ObjectYAML/MachOYAML.cpp
    M llvm/test/ObjectYAML/MachO/section_data.yaml
    M llvm/test/tools/yaml2obj/ELF/custom-fill.yaml

  Log Message:
  -----------
  [YAML] Don't validate `Fill::Size` after error

Size is required, so we don't know if it's in
uninitialized state after the previous error.

Triggers msan on llvm/test/tools/yaml2obj/ELF/custom-fill.yaml

Pull Request: https://github.com/llvm/llvm-project/pull/123280


Compare: https://github.com/llvm/llvm-project/compare/7c9e8078c29a...0caa47f16a62

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