[all-commits] [llvm/llvm-project] 94e6d2: [ORC] Fix serialization / deserialization of defau...

lhames via All-commits all-commits at lists.llvm.org
Tue Jul 19 17:23:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 94e6d2677bd3748b344aa5abccfc7284dbea8be0
      https://github.com/llvm/llvm-project/commit/94e6d2677bd3748b344aa5abccfc7284dbea8be0
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-07-19 (Tue, 19 Jul 2022)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h
    M llvm/unittests/ExecutionEngine/Orc/SimplePackedSerializationTest.cpp

  Log Message:
  -----------
  [ORC] Fix serialization / deserialization of default-constructed StringRef.

Avoids accessing the data field on zero-length strings. This is the StringRef
counterpart to the ArrayRef<char> fix in 67220c2ad72e3.

rdar://97285294




More information about the All-commits mailing list