Project

General

Profile

Actions

Feature #3962

open

osmo-trx: Use gcc attribute no_sanitize to run fine with ASan enabled

Added by pespin almost 5 years ago. Updated over 4 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
04/28/2019
Due date:
% Done:

0%

Spec Reference:

Description

So far we don't enable ASan during osmo-trx build because it adds too much overhead and makes it wrong incorrectly (too slow).

zecke informed that there's a gcc compile-time attribute to flag specific functions to be not covered by ASan. So we can run perf on osmo-trx, see the most CPU intensive functions and disable ASan on those.

https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#Common-Function-Attributes

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)