[all-commits] [llvm/llvm-project] 73714a: [lldb] Fix undefined behavior: left shift of negat...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Apr 5 09:37:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 73714a3c603c1e0656f138ad8b6ef2c4740c95f3
      https://github.com/llvm/llvm-project/commit/73714a3c603c1e0656f138ad8b6ef2c4740c95f3
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-04-05 (Tue, 05 Apr 2022)

  Changed paths:
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp

  Log Message:
  -----------
  [lldb] Fix undefined behavior: left shift of negative value

Fix undefined behavior in AppleObjCRuntimeV2 where we were left shifting
a signed value. This also removes redundant casts of unobfuscated to
uint64_t which it already is.

rdar://91242879

Differential revision: https://reviews.llvm.org/D123098




More information about the All-commits mailing list