[all-commits] [llvm/llvm-project] 789de7: [NFC, SHT_LLVM_BB_ADDR_MAP] Fix undefined behaviour...

Rahman Lavaee via All-commits all-commits at lists.llvm.org
Tue Nov 12 09:50:18 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 789de766b5fc9c8ffa6e808a8baf0e585ac2e818
      https://github.com/llvm/llvm-project/commit/789de766b5fc9c8ffa6e808a8baf0e585ac2e818
  Author: Rahman Lavaee <rahmanl at google.com>
  Date:   2024-11-12 (Tue, 12 Nov 2024)

  Changed paths:
    M llvm/lib/Object/ELF.cpp

  Log Message:
  -----------
  [NFC,SHT_LLVM_BB_ADDR_MAP] Fix undefined behaviour in ELF.cpp. (#115830)

`BBEntries` is defined outside of the loop and is used after move which
is undefined behavior.



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