[all-commits] [llvm/llvm-project] 521c99: [JITLink] Move Symbol to new block before updating...

Lang Hames via All-commits all-commits at lists.llvm.org
Sun Nov 17 15:39:32 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 521c99627690e09ba25383c83232f94ff457f00c
      https://github.com/llvm/llvm-project/commit/521c99627690e09ba25383c83232f94ff457f00c
  Author: Lang Hames <lhames at gmail.com>
  Date:   2024-11-18 (Mon, 18 Nov 2024)

  Changed paths:
    M llvm/lib/ExecutionEngine/JITLink/JITLink.cpp
    M llvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp

  Log Message:
  -----------
  [JITLink] Move Symbol to new block before updating size.

Symbol::setSize asserts that the new size does not overflow the containing
block, so we need to point the Symbol at the correct Block before updating its
size (otherwise we may get a spurious overflow assertion).



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