brintos

brintos / llvm-project-archived public Read only

0
0
Text · 705 B · 9a972f1 Raw
19 lines · plain
1# REQUIRES: target-x86_642# XFAIL: system-windows3 4# JITLink is the Orc-specific JIT linker implementation.5#6# RUN: %clangxx -g -S -emit-llvm -fPIC --target=x86_64-unknown-unknown-elf \7# RUN:          -o %t.ll %p/Inputs/jitbp.cpp8# RUN: %lldb -b -o 'settings set plugin.jit-loader.gdb.enable on' -o 'b jitbp' \9# RUN:          -o 'run --jit-linker=jitlink %t.ll' lli | FileCheck %s10 11# CHECK: Breakpoint 1: no locations (pending).12# CHECK: (lldb) run {{.*}}13# CHECK: Process {{.*}} launched: {{.*}}14# CHECK: Process {{.*}} stopped15# CHECK: JIT(0x{{.*}})`jitbp() at jitbp.cpp:1:1516# CHECK: -> 1    int jitbp() { return 0; }17# CHECK:                       ^18# CHECK:    2    int main() { return jitbp(); }19