You've already forked llvm-project
mirror of
https://github.com/encounter/llvm-project.git
synced 2026-03-30 11:27:19 -07:00
1f80e51546
Files imported by the script interpreter aren't opened by LLDB so they don't end up in the reproducer. The solution is to explicitly add them to the FileCollector. Differential revision: https://reviews.llvm.org/D76626
12 lines
447 B
Plaintext
12 lines
447 B
Plaintext
# REQUIRES: lua
|
|
# UNSUPPORTED: system-windows
|
|
# Ensure that the reproducers know about imported Lua modules.
|
|
|
|
# RUN: rm -rf %t.repro
|
|
# RUN: %lldb -x -b --script-language lua --capture --capture-path %t.repro -o 'command script import %S/Inputs/foo.lua' -o 'reproducer generate' | FileCheck %s --check-prefix CAPTURE
|
|
|
|
# CAPTURE: 95126
|
|
|
|
# RUN: %lldb -b -o 'reproducer dump -p files -f %t.repro' | FileCheck %s --check-prefix FILES
|
|
# FILES: foo.lua
|