Searched +full:- +full:- +full:extra +full:- +full:cflags (Results 1 – 19 of 19) sorted by relevance
/qemu/tests/docker/ |
H A D | test-clang | 1 #!/bin/bash -e 12 # the top-level directory. 20 OPTS="--cxx=clang++ --cc=clang --host-cc=clang" 21 OPTS="$OPTS --extra-cflags=-fsanitize=undefined \ 22 --extra-cflags=-fno-sanitize=float-divide-by-zero"
|
H A D | test-tsan | 1 #!/bin/bash -e 10 # Originally based on test-quick from Fam Zheng <famz@redhat.com> 14 # the top-level directory. 21 tsan_log_dir="/tmp/qemu-test/build/tsan" 22 mkdir -p $tsan_log_dir > /dev/null || true 23 EXTRA_CONFIGURE_OPTS="${EXTRA_CONFIGURE_OPTS} --enable-tsan \ 24 --cc=clang --cxx=clang++ \ 25 --disable-werror --extra-cflags=-O0" 31 tsan_opts="suppressions=/tmp/qemu-test/src/tests/tsan/suppressions.tsan\ 40 TARGET_LIST=${TARGET_LIST:-$DEF_TARGET_LIST} \
|
/qemu/scripts/oss-fuzz/ |
H A D | build.sh | 1 #!/bin/bash -e 3 # OSS-Fuzz build script. See: 4 # https://google.github.io/oss-fuzz/getting-started/new-project-guide/#buildsh 7 # https://github.com/google/oss-fuzz/blob/master/projects/qemu/Dockerfiles 10 # the COPYING file in the top-level directory. 17 # make -j$(nproc) all 21 # $CXX $CXXFLAGS -std=c++11 -Iinclude \ 22 # /path/to/name_of_fuzzer.cc -o $OUT/name_of_fuzzer \ 23 # -fsanitize=fuzzer /path/to/library.a 30 OSS_FUZZ_BUILD_DIR="./build-oss-fuzz/" [all …]
|
/qemu/tests/tcg/ |
H A D | Makefile.target | 1 # -*- Mode: makefile -*- 7 # ones we have cross-compilers for or docker images with 8 # cross-compilers. 11 # cross-compilers don't always have a large amount of libraries 17 # CC - the C compiler command 18 # EXTRA_CFLAGS - any extra CFLAGS 19 # BUILD_STATIC - are we building static binaries 23 # cross-compiler can only build dynamic libraries the user might need 24 # to make extra efforts to ensure ld.so can link at runtime when the 29 # We also expect to be in the tests build dir for the FOO-(linux-user|softmmu). [all …]
|
/qemu/ |
H A D | configure | 14 source_path=$(cd "$(dirname -- "$0")"; pwd) 16 if test "$PWD" -ef "$source_path" 20 MARKER=build/auto-created-by-configure 22 if test -e build 24 if test -f $MARKER 26 rm -rf build 36 echo "your source directory, or try doing an out-of-tree build." 41 # This file is auto-generated by configure to support in-source tree 46 @$(MAKE) -C build -f Makefile $(MAKECMDGOALS) 48 test -e build/auto-created-by-configure ; \ [all …]
|
/qemu/tests/tsan/ |
H A D | ignore.tsan | 3 # "--extra-cflags=-fsanitize-blacklist=<src path>/tests/tsan/ignore.tsan"
|
/qemu/tests/vm/ |
H A D | freebsd | 5 # Copyright 2017-2019 Red Hat Inc. 12 # the COPYING file in the top-level directory. 31 …= "https://download.freebsd.org/releases/CI-IMAGES/14.1-RELEASE/amd64/Latest/FreeBSD-14.1-RELEASE-… 36 set -e; 37 rm -rf /home/qemu/qemu-test.* 38 cd $(mktemp -d /home/qemu/qemu-test.XXXXXX); 40 tar -xf /dev/vtbd1; 42 ../src/configure --extra-ldflags=-L/usr/local/lib \ 43 --extra-cflags=-I/usr/local/include {configure_opts}; 44 gmake --output-sync -j{jobs} {target} {verbose}; [all …]
|
H A D | openbsd | 5 # Copyright 2017-2019 Red Hat Inc. 12 # the COPYING file in the top-level directory. 40 "gettext-tools", 43 "libusb1--", 66 set -e; 67 rm -rf /home/qemu/qemu-test.* 68 cd $(mktemp -d /home/qemu/qemu-test.XXXXXX); 70 tar -xf /dev/rsd1c; 72 ../src/configure --cc=cc --extra-cflags=-I/usr/local/include \ 73 --extra-ldflags=-L/usr/local/lib {configure_opts}; [all …]
|
H A D | netbsd | 5 # Copyright 2017-2019 Red Hat Inc. 12 # the COPYING file in the top-level directory. 25 link = "https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.3/images/NetBSD-9.3-amd64.iso" 30 "git-base", 34 "ninja-build", 40 "gettext-tools", 66 set -e; 67 rm -rf /home/qemu/qemu-test.* 68 cd $(mktemp -d /home/qemu/qemu-test.XXXXXX); 70 tar -xf /dev/rld1a; [all …]
|
/qemu/scripts/ |
H A D | meson-buildoptions.py | 28 # Options with nonstandard names (e.g. --with/--without) or OS-dependent 40 "coroutine_backend": "with-coroutine", 41 "debug": "debug-info", 42 "malloc": "enable-malloc", 43 "pkgversion": "with-pkgversion", 45 "qemu_suffix": "with-suffix", 46 "trace_backends": "enable-trace-backends", 47 "trace_file": "with-trace-file", 58 # via -D, because it's a mix of CFLAGS and --extra-cflags); for specific 59 # cases "../configure -D" can be used as an escape hatch. [all …]
|
/qemu/docs/devel/ |
H A D | build-system.rst | 14 - build artifacts outside of QEMU source tree entirely:: 22 - build artifacts in a subdir of QEMU source tree:: 38 - detect the host architecture 40 - list the targets for which to build emulators; the list of 43 - find the compilers (native and cross) used to build executables, 45 fragments (``config-host.mak``) or a Meson machine file 46 (``config-meson.cross``) 48 - create a virtual environment in which all Python code runs during 51 - invoke Meson in the virtual environment, to perform the actual 55 which a same-named Meson option exists; dashes in the command line are [all …]
|
/qemu/docs/devel/testing/ |
H A D | main.rst | 7 everything from unit testing and exercising specific sub-systems all 9 tests you can run ``make check-help`` from either the source or build 16 [./pyvenv/bin/]meson test --suite qemu:softfloat 38 ------------------------- 49 Different sub-types of "make check" tests will be explained below. 55 .. _unit-tests: 68 In QEMU, unit tests can be invoked with ``make check-unit``. They are 76 1. Create a new source file. For example, ``tests/unit/foo-test.c``. 86 is in ``tests/unit/foo-test.c``, it is enough to add an entry like:: 90 'foo-test': [], [all …]
|
H A D | fuzzing.rst | 5 This document describes the virtual-device fuzzing infrastructure in QEMU and 9 ------ 16 is an *in-process* fuzzer. For the developer, this means that it is their 17 responsibility to ensure that state is reset between fuzzing-runs. 20 -------------------- 24 Here, enable-asan and enable-ubsan are optional but they allow us to reliably 25 detect bugs such as out-of-bounds accesses, uses-after-free, double-frees 28 CC=clang-8 CXX=clang++-8 /path/to/configure \ 29 --enable-fuzzing --enable-asan --enable-ubsan 33 make qemu-fuzz-i386 [all …]
|
/qemu/.gitlab-ci.d/ |
H A D | buildtest.yml | 2 - local: '/.gitlab-ci.d/buildtest-template.yml' 4 build-system-alpine: 6 - .native_build_job_template 7 - .native_build_artifact_template 9 - job: amd64-alpine-container 12 TARGETS: avr-softmmu loongarch64-softmmu mips64-softmmu mipsel-softmmu 13 MAKE_CHECK_ARGS: check-build 14 CONFIGURE_ARGS: --enable-docs --enable-trace-backends=log,simple,syslog 16 check-system-alpine: 19 - job: build-system-alpine [all …]
|
/qemu/include/hw/core/ |
H A D | cpu.h | 18 * <http://www.gnu.org/licenses/gpl-2.0.html> 23 #include "hw/qdev-core.h" 24 #include "disas/dis-asm.h" 29 #include "exec/mmu-access-type.h" 30 #include "exec/tlb-common.h" 31 #include "qapi/qapi-types-machine.h" 32 #include "qapi/qapi-types-run-state.h" 45 * @section_id: QEMU-cpu 62 * has a cached value for the class in cs->cc which is set up in 75 * This macro is typically used in "cpu-qom.h" header file, and will: [all …]
|
/qemu/block/ |
H A D | qcow2.c | 4 * Copyright (c) 2004-2006 Fabrice Bellard 28 #include "system/block-backend.h" 29 #include "qemu/main-loop.h" 32 #include "qemu/error-report.h" 34 #include "qapi/qapi-events-block-core.h" 42 #include "qapi/qobject-input-visitor.h" 43 #include "qapi/qapi-visit-block-core.h" 46 #include "block/dirty-bitmap.h" 51 - Support for multiple incremental snapshots. 52 - Memory management by reference counts. [all …]
|
/qemu/tcg/ |
H A D | tcg-op.c | 27 #include "tcg/tcg-temp-internal.h" 28 #include "tcg/tcg-op-common.h" 29 #include "exec/translation-block.h" 30 #include "exec/plugin-gen.h" 31 #include "tcg-internal.h" 32 #include "tcg-has.h" 35 * Encourage the compiler to tail-call to a function, rather than inlining. 44 op->args[0] = a1; in tcg_gen_op1() 52 op->args[0] = a1; in tcg_gen_op2() 53 op->args[1] = a2; in tcg_gen_op2() [all …]
|
/qemu/target/i386/tcg/ |
H A D | translate.c | 21 #include "qemu/host-utils.h" 23 #include "accel/tcg/cpu-mmu-index.h" 24 #include "exec/translation-block.h" 25 #include "tcg/tcg-op.h" 26 #include "tcg/tcg-op-gvec.h" 31 #include "exec/helper-proto.h" 32 #include "exec/helper-gen.h" 33 #include "helper-tcg.h" 34 #include "decode-new.h" 39 #include "exec/helper-info.c.inc" [all …]
|
/qemu/target/alpha/ |
H A D | translate.c | 23 #include "qemu/host-utils.h" 24 #include "tcg/tcg-op.h" 25 #include "exec/helper-proto.h" 26 #include "exec/helper-gen.h" 28 #include "exec/translation-block.h" 33 #include "exec/helper-info.c.inc" 57 /* True if generating pc-relative code. */ 66 /* Current flush-to-zero setting for this TB. */ 78 #define UNALIGN(C) (C)->unalign 83 /* Target-specific return values from translate_one, indicating the [all …]
|