Skip to content
Snippets Groups Projects
Commit 2d8b17d1 authored by Attila Krasznahorkay's avatar Attila Krasznahorkay
Browse files

Turn off vptr sanitization for the execute function.

The function makes use of vecmem memory resources, which cannot be
used with -fsanitize=vptr.
parent 7306b685
No related branches found
No related tags found
1 merge request!69855AthExCUDA (Debug Build) Fix, main branch (2024.03.15.)
// Dear emacs, this is -*- c++ -*- // Dear emacs, this is -*- c++ -*-
// //
// Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration // Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
// //
#ifndef ATHEXCUDA_TRACKPARTICLECALIBRATOREXAMPLEALG_H #ifndef ATHEXCUDA_TRACKPARTICLECALIBRATOREXAMPLEALG_H
#define ATHEXCUDA_TRACKPARTICLECALIBRATOREXAMPLEALG_H #define ATHEXCUDA_TRACKPARTICLECALIBRATOREXAMPLEALG_H
...@@ -38,7 +38,11 @@ class TrackParticleCalibratorExampleAlg : public AthReentrantAlgorithm { ...@@ -38,7 +38,11 @@ class TrackParticleCalibratorExampleAlg : public AthReentrantAlgorithm {
virtual StatusCode initialize() override; virtual StatusCode initialize() override;
/// Function executing the algorithm /// Function executing the algorithm
virtual StatusCode execute(const EventContext& ctx) const override; virtual StatusCode execute(const EventContext& ctx) const override
#if (defined(__GNUC__) || defined(__clang__))
__attribute__((no_sanitize("vptr")))
#endif
;
/// @} /// @}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment