[PATCH] D61524: [BPF] Support for compile once and run everywhere

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 10 18:20:06 PDT 2019


efriedma added a comment.

"Global is referenced by parentless instruction" means in memory, there's an instruction which refers to the global, but wasn't inserted into a basic block in any function in that module.  This indicates you're either creating a GEP and not inserting it into the module correctly, or memory is corrupted due to a use-after-free or something like that.  I don't see any obvious issue, but I'm not reading very carefully.  asan might be helpful.

In terms of the general approach, I think you're getting closer; I'll reply on D61809 <https://reviews.llvm.org/D61809>.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61524/new/

https://reviews.llvm.org/D61524





More information about the llvm-commits mailing list