Move debuginfod include to TracyCallstack.hpp.

This commit is contained in:
Bartosz Taudul
2022-05-01 15:26:26 +02:00
parent f540f3ad89
commit b6f155bb6a
3 changed files with 4 additions and 7 deletions

View File

@@ -32,9 +32,6 @@
# include <cxxabi.h>
# include <stdlib.h>
# include "TracyFastVector.hpp"
# ifdef TRACY_DEBUGINFOD
# include <elfutils/debuginfod.h>
# endif
#elif TRACY_HAS_CALLSTACK == 5
# include <dlfcn.h>
# include <cxxabi.h>

View File

@@ -13,6 +13,10 @@
#ifdef TRACY_HAS_CALLSTACK
#ifdef TRACY_DEBUGINFOD
# include <elfutils/debuginfod.h>
#endif
#include <assert.h>
#include <stdint.h>

View File

@@ -45,10 +45,6 @@
# include <vector>
#endif
#ifdef TRACY_DEBUGINFOD
# include <elfutils/debuginfod.h>
#endif
#include <algorithm>
#include <assert.h>
#include <atomic>