diff options
author | Zachary Turner <zturner@google.com> | 2015-03-01 06:49:49 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2015-03-01 06:49:49 +0000 |
commit | f5abda2a2f9213e1468c965a59b94382feaa9d9e (patch) | |
tree | ee94fef257c6dc35391ea7d3fe2e2649464f2aef /llvm/tools/llvm-pdbdump/VariableDumper.cpp | |
parent | e56f6dceea8c169997c3427a3a61cd52710237bf (diff) | |
download | bcm5719-llvm-f5abda2a2f9213e1468c965a59b94382feaa9d9e.tar.gz bcm5719-llvm-f5abda2a2f9213e1468c965a59b94382feaa9d9e.zip |
[llvm-pdbdump] Add regex-based filtering.
llvm-svn: 230888
Diffstat (limited to 'llvm/tools/llvm-pdbdump/VariableDumper.cpp')
-rw-r--r-- | llvm/tools/llvm-pdbdump/VariableDumper.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/tools/llvm-pdbdump/VariableDumper.cpp b/llvm/tools/llvm-pdbdump/VariableDumper.cpp index 90c418cf52a..ec72d16fef9 100644 --- a/llvm/tools/llvm-pdbdump/VariableDumper.cpp +++ b/llvm/tools/llvm-pdbdump/VariableDumper.cpp @@ -32,6 +32,9 @@ VariableDumper::VariableDumper(LinePrinter &P) void VariableDumper::start(const PDBSymbolData &Var, raw_ostream &OS, int Indent) { + if (Printer.IsSymbolExcluded(Var.getName())) + return; + Printer.NewLine(); Printer << "data "; |