vppinfra: fix AddressSanitizer
When checking for CLIB_SANITIZE_ADDR to enable specific behavior for AddressSanitizer, we must have vppinfra/clib.h included as it is defined there. Type: fix Change-Id: I9060c3c29c1289d28596c215a1d1709b2ea7c84e Signed-off-by: Benoît Ganne <bganne@cisco.com>
This commit is contained in:
committed by
Damjan Marion
parent
91246bc6a2
commit
6531cf5d1c
@@ -21,6 +21,7 @@
|
||||
#include <stdarg.h>
|
||||
#include <pthread.h>
|
||||
#include <sys/user.h>
|
||||
#include <vppinfra/clib.h>
|
||||
#include <vppinfra/types.h>
|
||||
|
||||
#define SVM_VERSION ((1<<16) | 1) /* set to declare region ready. */
|
||||
|
||||
@@ -63,6 +63,8 @@
|
||||
#include <unistd.h>
|
||||
#include <pthread.h>
|
||||
|
||||
#include <vppinfra/clib.h>
|
||||
|
||||
#include <vcl/ldp_socket_wrapper.h>
|
||||
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
#ifndef included_vlib_main_h
|
||||
#define included_vlib_main_h
|
||||
|
||||
#include <vppinfra/clib.h>
|
||||
#include <vppinfra/callback_data.h>
|
||||
#include <vppinfra/elog.h>
|
||||
#include <vppinfra/format.h>
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
#ifndef included_vlib_node_funcs_h
|
||||
#define included_vlib_node_funcs_h
|
||||
|
||||
#include <vppinfra/clib.h>
|
||||
#include <vppinfra/fifo.h>
|
||||
#include <vppinfra/tw_timer_1t_3w_1024sl_ov.h>
|
||||
#include <vppinfra/interrupt.h>
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <vppinfra/clib.h>
|
||||
#include <vppinfra/linux/sysfs.h>
|
||||
#include <vlib/vlib.h>
|
||||
#include <vlib/physmem.h>
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
|
||||
#include <vppinfra/clib.h>
|
||||
#include <vppinfra/cpu.h>
|
||||
#include <vlib/vlib.h>
|
||||
#include <vlib/unix/unix.h>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
comments, complaints, performance data, etc to dl@cs.oswego.edu
|
||||
*/
|
||||
|
||||
#include <vppinfra/clib.h>
|
||||
#include <vppinfra/dlmalloc.h>
|
||||
|
||||
/*------------------------------ internal #includes ---------------------- */
|
||||
|
||||
Reference in New Issue
Block a user