samply icon indicating copy to clipboard operation
samply copied to clipboard

Empty trace when compiling with -o3 and -g

Open Alex-EEE opened this issue 1 year ago • 0 comments

When I compile with optimization, I no longer get a trace: image

I've confirmed I'm still passing -g during compile

Building CXX object CMakeFiles/app.dir/src/main.cpp.o
/Library/Developer/CommandLineTools/usr/bin/c++  -g -O3 -DNDEBUG -arch arm64

Alex-EEE avatar Dec 13 '24 02:12 Alex-EEE