Add --demangle option to command example

The --demangle option preserves original source names
when dumping the AST or emitting text-based shader languages.

Change-Id: Iac450158c6b9f0ac780b7e5580cb02c41dd5df17
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/36480
Commit-Queue: David Neto <dneto@google.com>
Commit-Queue: dan sinclair <dsinclair@chromium.org>
Auto-Submit: David Neto <dneto@google.com>
Reviewed-by: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
David Neto
2021-01-05 22:45:50 +00:00
committed by Commit Bot service account
parent 6cad63c2ad
commit 995516e0e2
2 changed files with 16 additions and 2 deletions

View File

@@ -20,6 +20,7 @@
#include "src/ast/pipeline_stage.h"
#include "src/ast/type_manager.h"
#include "src/demangler.h"
#include "src/diagnostic/printer.h"
#include "src/inspector/inspector.h"
#include "src/namer.h"