On 03/05/2021 10:36, Pratyush Das via cfe-dev wrote: > 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". `clang -Xclang -ast-print -g` should work, I think.