executorch icon indicating copy to clipboard operation
executorch copied to clipboard

Llama_main strips symbols in RelWithDebInfo mode

Open GregoryComer opened this issue 10 months ago • 1 comments

🐛 Describe the bug

When building examples/models/llama/llama_main, it strips when build mode is not Debug. It should also not strip in RelWithDebInfo.

Versions

Reproed on release/1.0.

cc @larryliu0820

GregoryComer avatar Jan 14 '26 00:01 GregoryComer

A PR has been opened to fix this: https://github.com/pytorch/executorch/pull/16581

RelWithDebInfo builds will no longer strip binaries, ensuring debug symbols are retained.

Please let me know if this aligns with the intended behavior or if there are edge cases I may have missed.

yujiaoliang avatar Jan 14 '26 15:01 yujiaoliang