]> Git Repo - qemu.git/blame - tests/docker/test-debug
works with less than base ISA qemu-system-riscv32 -M virt -bios none -kernel output...
[qemu.git] / tests / docker / test-debug
CommitLineData
11545663
MAL
1#!/bin/bash -e
2#
02f769b7 3# Compile and check with clang & --enable-debug --enable-sanitizers.
11545663
MAL
4#
5# Copyright (c) 2016-2018 Red Hat Inc.
6#
7# Authors:
8# Fam Zheng <[email protected]>
9# Marc-André Lureau <[email protected]>
10#
11# This work is licensed under the terms of the GNU GPL, version 2
12# or (at your option) any later version. See the COPYING file in
13# the top-level directory.
14
15. common.rc
16
888673bb 17requires_binary clang
11545663
MAL
18
19cd "$BUILD_DIR"
20
21OPTS="--cxx=clang++ --cc=clang --host-cc=clang"
02f769b7 22OPTS="--enable-debug --enable-sanitizers $OPTS"
11545663 23
6f89ec74 24export ASAN_OPTIONS=detect_leaks=0
11545663 25build_qemu $OPTS
3f9747a7 26check_qemu check V=1
11545663 27install_qemu
This page took 0.383954 seconds and 5 git commands to generate.