[all-commits] [llvm/llvm-project] 915c84: [lldb] Fix evaluation of expressions with static i...

Pavel Labath via All-commits all-commits at lists.llvm.org
Wed Apr 17 05:33:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 915c84b1480bb3c6d2e44ca83822d2c2304b763a
      https://github.com/llvm/llvm-project/commit/915c84b1480bb3c6d2e44ca83822d2c2304b763a
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-04-17 (Wed, 17 Apr 2024)

  Changed paths:
    M lldb/source/Expression/IRExecutionUnit.cpp

  Log Message:
  -----------
  [lldb] Fix evaluation of expressions with static initializers (#89063)

After 281d71604f418eb952e967d9dc4b26241b7f96a, llvm generates 32-bit
relocations, which overflow when we load these objects into high memory.
Interestingly, setting the code model to "large" does not help here
(perhaps it is the default?). I'm not completely sure that this is the
right thing to do, but it doesn't seem to cause any ill effects. I'll
follow up with the author of that patch about the expected behavior
here.



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