Skip to content

Commit

Permalink
fix: no instrument
Browse files Browse the repository at this point in the history
  • Loading branch information
ludamad0 committed Oct 19, 2023
1 parent 6c0d8ae commit cfcec5e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@

// TODO(AD): put this into a header
#if defined(__clang__)
#define BBERG_INSTRUMENT [[clang::xray_always_instrument]]
#define BBERG_NOINLINE [[clang::noinline]]
#define BBERG_INSTRUMENT [[clang::xray_always_instrument]
#define BBERG_NO_INSTRUMENT [[clang::xray_never_instrument]]
#define BBERG_NOINLINE [[clang::noinline]]]
#else
#define BBERG_INSTRUMENT
#define BBERG_NO_INSTRUMENT
#define BBERG_NOINLINE
#endif

Expand Down

0 comments on commit cfcec5e

Please sign in to comment.