abstract syntax tree - Clang dump AST without debug info -


i need drop debug info ast, such from:

[oriz@ llvm_test]$ cat foo.h void foo() {} [oriz@ llvm_test]$ clang++ -cc1 foo.h -ast-dump -fcolor-diagnostics -ast-dump-filter foo dumping foo: functiondecl 0x59c1578 <foo.h:1:1, col:13> col:6 foo 'void ()' `-compoundstmt 0x59c1660 <col:12, col:13> 

to:

[oriz@ llvm_test]$ clang++ -cc1 foo.h -ast-dump -fcolor-diagnostics -ast-dump-filter foo dumping foo: functiondecl  foo 'void ()' `-compoundstmt 

the motivation diffing between asts

i didn't find relevant cli argument of clang++


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -