[all-commits] [llvm/llvm-project] 0b339c: [lldb] Inform every language runtime of the modifi...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Jul 24 12:13:23 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b339c069266b7a4f3c82f80067d74620cbe19c4
      https://github.com/llvm/llvm-project/commit/0b339c069266b7a4f3c82f80067d74620cbe19c4
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-07-24 (Fri, 24 Jul 2020)

  Changed paths:
    M lldb/source/Target/Process.cpp

  Log Message:
  -----------
  [lldb] Inform every language runtime of the modified modules

When a process is notified that modules got loaded, currently only
existing language runtimes are given a chance to deal with that. This
means that if the runtime for a given language wasn't needed before it
won't be informed of the module chance.

This is wrong because the module change might be what triggers the need
for a certain runtime. Instead, we should give the language runtime for
every supported language a chance to deal with the modified modules.

Differential revision: https://reviews.llvm.org/D84475




More information about the All-commits mailing list