Serialized LLVM remarks in clang driver

Hi,
The doc (Remarks — LLVM 16.0.0git documentation) mentioned the options for opt llc and other tools (llvm-lto, or gold plugin).

I’m wondering if clang (used as a driver) provides an option (if yes, what’s the option) to serialize remarks for post-compilation analysis?

Hello,

clang supports these through -fsave-optimization-record and related flags.

1 Like