[cfe-dev] Use "-g" and "-ast-print" flags together

Pratyush Das via cfe-dev cfe-dev at lists.llvm.org
Mon May 3 01:36:42 PDT 2021


Hi,

Is there a way to use Clang with both the "-g" and "-ast-print" flags in
the same invocation?
It looks like "-ast-print" is only allowed with "clang -cc1", while "clang
-cc1" does not allow me to use "-g".

Thanks!

-- 
Pratyush Das
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20210503/5e8c5494/attachment.html>


More information about the cfe-dev mailing list