[all-commits] [llvm/llvm-project] 602e19: [JITLink] Don't issue lookups for empty symbol sets.

lhames via All-commits all-commits at lists.llvm.org
Fri Mar 19 16:11:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 602e19ed79b8a15500bf7a683cbaa1ca24c9536d
      https://github.com/llvm/llvm-project/commit/602e19ed79b8a15500bf7a683cbaa1ca24c9536d
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-03-19 (Fri, 19 Mar 2021)

  Changed paths:
    M llvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp

  Log Message:
  -----------
  [JITLink] Don't issue lookups for empty symbol sets.

Issuing a lookup for an empty symbol set is legal, but can actually result in
unrelated work being done if there was a work queue left over from the previous
lookup. We can avoid doing this unrelated work (reducing stack depth and
interleaving of debugging output) by not issuing these no-op lookups in the
first place.




More information about the All-commits mailing list