[all-commits] [llvm/llvm-project] c378bc: [ObjectYAML] Fix issues found in review of #207306...

Haohai Wen via All-commits all-commits at lists.llvm.org
Thu Jul 9 01:37:27 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c378bc38dde2a30f04e0aac0d053cea620800a99
      https://github.com/llvm/llvm-project/commit/c378bc38dde2a30f04e0aac0d053cea620800a99
  Author: Haohai Wen <haohai.wen at intel.com>
  Date:   2026-07-09 (Thu, 09 Jul 2026)

  Changed paths:
    M llvm/include/llvm/ObjectYAML/ContiguousBlobAccumulator.h
    M llvm/lib/ObjectYAML/ContiguousBlobAccumulator.cpp

  Log Message:
  -----------
  [ObjectYAML] Fix issues found in review of #207306 (#208160)

- checkLimit(): avoid uint64_t overflow.
- writeAsBinary(): check the limit against the bytes actually written.
- updateDataAt(): take const void *Data.



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