[all-commits] [llvm/llvm-project] c49e08: [BPFAbstractMemberAccess] Use WeakTrackingVH for Base

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Dec 19 06:25:08 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c49e0840fced3efffb3a3ad8ecdbd52d275e0eae
      https://github.com/llvm/llvm-project/commit/c49e0840fced3efffb3a3ad8ecdbd52d275e0eae
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-12-19 (Mon, 19 Dec 2022)

  Changed paths:
    M llvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
    M llvm/test/CodeGen/BPF/CORE/offset-reloc-cast-struct-1.ll
    M llvm/test/CodeGen/BPF/CORE/offset-reloc-cast-struct-2.ll

  Log Message:
  -----------
  [BPFAbstractMemberAccess] Use WeakTrackingVH for Base

The value will be RAUWd, make sure the reference in CallInfo gets
updated.

It seems like this was not a problem without opaque pointers due
to the bitcast in between.




More information about the All-commits mailing list