[PATCH] D39074: [libunwind][MIPS]: Add support for unwinding in N32 processes.
Simon Dardis via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 12 11:46:15 PST 2018
sdardis added a comment.
Um, I now appear to be getting different results for running under QEMU doing it the proper way. I was previously rebuilding the failing test by hand and running under qemu. I don't believe I changed anything important, I'll have to take a longer look.
If you define an Executor for libunwind you can run the testsuite under QEMU, automagically.
I have:
LIBUNWIND_EXECUTOR PrefixExecutor(['/home/sdardis/bin/qemu-mipsn32.sh'],LocalExecutor())
/home/sdardis/bin/qemu-mips32.sh for is a simple bash script:
#!/bin/bash
~/mips-mti-linux-gnu/2016.05-06/bin/qemu-mipsn32 -L /home/snd-local/mips-mti-linux-gnu/2016.05-06/sysroot/mips-r2-hard/ -E LD_LIBRARY_PATH=/home/snd-local/mips-mti-linux-gnu/2016.05-06/mips-mti-linux-gnu/lib/mips-r2-hard/lib32/ "$@"
Hope this helps.
Thanks for all the work you're putting into this.
https://reviews.llvm.org/D39074
More information about the cfe-commits
mailing list