Capture backtraces during build_test
We're seeing random ckati segfaults, and ASAN only hides the problem, so attempt to capture more information. Bug: 36182021 Test: build/soong/build_test.bash, kill -SIGSEGV <ckati> Change-Id: I854ae846df0c47f69ec8d39b9a3d9e6f482e0854
This commit is contained in:
parent
83cf1cee58
commit
e7efcbe34e
1 changed files with 6 additions and 0 deletions
|
@ -30,5 +30,11 @@ export TRACE_BEGIN_SOONG=$(date +%s%N)
|
|||
export TOP=$(cd $(dirname ${BASH_SOURCE[0]})/../..; PWD= /bin/pwd)
|
||||
source "${TOP}/build/soong/cmd/microfactory/microfactory.bash"
|
||||
|
||||
case $(uname) in
|
||||
Linux)
|
||||
export LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
|
||||
;;
|
||||
esac
|
||||
|
||||
build_go multiproduct_kati android/soong/cmd/multiproduct_kati
|
||||
exec "$(getoutdir)/multiproduct_kati" "$@"
|
||||
|
|
Loading…
Reference in a new issue