[all-commits] [llvm/llvm-project] 1e4891: [clang-repl] Enable debugging of JIT-ed code.

Vassil Vassilev via All-commits all-commits at lists.llvm.org
Tue Apr 18 06:19:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e4891e681c51f3e2a724b4ac4e42380ec4a9be1
      https://github.com/llvm/llvm-project/commit/1e4891e681c51f3e2a724b4ac4e42380ec4a9be1
  Author: Vassil Vassilev <v.g.vassilev at gmail.com>
  Date:   2023-04-18 (Tue, 18 Apr 2023)

  Changed paths:
    M clang/lib/Interpreter/IncrementalExecutor.cpp

  Log Message:
  -----------
  [clang-repl] Enable debugging of JIT-ed code.

This change follows llvm/llvm-project at 21b5ebd and makes use of the jitlink
infrastructure. In order to use this feature inside lldb one needs to run the
lldb command: settings set plugin.jit-loader.gdb.enable on

This works currently only on Darwin since jitlink is not a default ELF/x86-64
backend yet.

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




More information about the All-commits mailing list