filter a change for the bottom of thread stacks and
add use the same pre check as Linux for DRD OpenMP tests.
exit 1
fi
-if [ "$(uname)" = Linux ]; then
+if [ "$(uname)" = Linux -o "$(uname)" = SunOS ]; then
# Let the dynamic linker/loader print the path of libgomp. See also man ld.so
libgomp_path="$(LD_TRACE_LOADED_OBJECTS=1 "$1" \
# on Illumos
s#_start_crt \(in .*#(below main)#;
+ s#start_thread#(within libpthread-?.?.so)#;
# filter out the exact libc-start.c:### line number. (ppc64*)
s/\(libc-start.c:[0-9]*\)$/(in \/...libc...)/;