1#include "foo.h"
2
3int __attribute__((always_inline)) inline_function() {
4 int z = 0;
5 z++;
6 return z;
7}
8
9int main() {
10 int res = foo();
11
12 res++;
13
14 res += inline_function();
15
16 res += foo();
17
18 return res;
19}
20

Provided by KDAB

Privacy Policy
Update your C++ knowledge – Modern C++11/14/17 Training
Find out more

source code of lldb/test/API/commands/trace/intelpt-trace-multi-file/main.cpp