| 1 | #ifndef OTHER_H |
|---|---|
| 2 | #define OTHER_H |
| 3 | |
| 4 | __attribute__((noinline)) void not_inlined_fn() {}; |
| 5 | |
| 6 | __attribute__((always_inline)) inline void inlined_fn() { not_inlined_fn(); } |
| 7 | #endif // OTHER_H |
| 1 | #ifndef OTHER_H |
|---|---|
| 2 | #define OTHER_H |
| 3 | |
| 4 | __attribute__((noinline)) void not_inlined_fn() {}; |
| 5 | |
| 6 | __attribute__((always_inline)) inline void inlined_fn() { not_inlined_fn(); } |
| 7 | #endif // OTHER_H |