VirtualBox

Changeset 66393 in vbox


Ignore:
Timestamp:
Apr 3, 2017 6:09:51 AM (8 years ago)
Author:
vboxsync
Message:

bugref:8019: Undefined behaviour sanitiser: do not introduce an unnecessary macro definition to tell if we are building with sanitisers, as SANITIZER_ADDRESS already exists.

Location:
trunk/src/VBox/HostServices/SharedOpenGL
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/Makefile.kmk

    r66170 r66393  
    408408ifneq ($(KBUILD_TARGET),darwin)
    409409  VBoxOGLTest_SOURCES = OpenGLTest/OpenGLTest.cpp
    410  ifneq ($(KBUILD_TARGET),win)
    411   VBoxOGLTest_DEFS += $(if $(VBOX_WITH_GCC_SANITIZER),VBOX_WITH_GCC_SANITIZER,)
    412  endif
    413410endif
    414411VBoxOGLTest_SOURCES.darwin = OpenGLTest/OpenGLTestDarwin.cpp
  • trunk/src/VBox/HostServices/SharedOpenGL/OpenGLTest/OpenGLTest.cpp

    r66170 r66393  
    4545    uint64_t StartTS;
    4646
    47 #ifdef VBOX_WITH_GCC_SANITIZER
     47#ifdef __SANITIZE_ADDRESS__
    4848    /* The OpenGL test tool contains a number of memory leaks which cause it to
    4949     * return failure when run with ASAN unless we disable the leak detector. */
     
    6262    AssertRCReturn(rc, false);
    6363
    64 #ifndef VBOX_WITH_GCC_SANITIZER
     64#ifndef __SANITIZE_ADDRESS__
    6565    rc = RTProcCreate(pszVBoxPath, papszArgs, RTENV_DEFAULT, 0, &Process);
    6666#else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette