Hi,

We use clang 8+. Does clang have options (not -O0) that do not remove dead
code when clang optimize the code?

We have a old project, now migrating to Clang. It works well with -O0, but
failed when use -O1 to -O3.

Thanks,

Guofeng
_______________________________________________
cfe-users mailing list
cfe-users@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users

Reply via email to