[all-commits] [llvm/llvm-project] 9c9a62: [ThinLTO] Add lookup to ImportListsTy (#109036)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Tue Sep 17 15:16:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c9a627190b67a435a9735ee1aead20cbb708f2b
      https://github.com/llvm/llvm-project/commit/9c9a627190b67a435a9735ee1aead20cbb708f2b
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/FunctionImport.h

  Log Message:
  -----------
  [ThinLTO] Add lookup to ImportListsTy (#109036)

This is primarily to unblock Rust, which could potentially use
ImportListsTy::operator[] on a module that's not in ListsImpl and
cause concurrency problems.

This patch fixes a regression in the sense that it restores
ImportListsTy::lookup, which was available when ImportListsTy was just
a plain DenseMap.



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