Add debuginfo test
This commit is contained in:
parent
8edbbc45f7
commit
4826320680
9
test.sh
9
test.sh
@ -31,11 +31,16 @@ $RUSTC example/mini_core.rs --crate-name mini_core --crate-type lib,dylib
|
||||
echo "[BUILD] example"
|
||||
$RUSTC example/example.rs --crate-type lib
|
||||
|
||||
JIT_ARGS="abc bcd" jit mini_core_hello_world example/mini_core_hello_world.rs
|
||||
#JIT_ARGS="abc bcd" jit mini_core_hello_world example/mini_core_hello_world.rs
|
||||
|
||||
echo "[AOT] mini_core_hello_world"
|
||||
$RUSTC example/mini_core_hello_world.rs --crate-name mini_core_hello_world --crate-type bin
|
||||
$RUSTC example/mini_core_hello_world.rs --crate-name mini_core_hello_world --crate-type bin -g
|
||||
./target/out/mini_core_hello_world abc bcd
|
||||
if lldb -v; then
|
||||
(echo "break set -n main"; echo "run"; sleep 1; echo "si -c 21"; sleep 1; echo "frame variable") | lldb -- ./target/out/mini_core_hello_world abc bcd
|
||||
fi
|
||||
|
||||
exit 1
|
||||
|
||||
echo "[AOT] arbitrary_self_types_pointers_and_wrappers"
|
||||
$RUSTC example/arbitrary_self_types_pointers_and_wrappers.rs --crate-name arbitrary_self_types_pointers_and_wrappers --crate-type bin
|
||||
|
Loading…
x
Reference in New Issue
Block a user