summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-pdbdump/LLVMOutputStyle.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-06-06 21:34:55 +0000
committerRui Ueyama <ruiu@google.com>2016-06-06 21:34:55 +0000
commit2c5384ae4cd4d3a05ee0e33b9a1a23a8ee1dc087 (patch)
tree88bd3408d9673b1593e82cf5056699e47c72dcd9 /llvm/tools/llvm-pdbdump/LLVMOutputStyle.cpp
parent468208a1de96a2be1d69e0030eb6c9efc1ffc30c (diff)
downloadbcm5719-llvm-2c5384ae4cd4d3a05ee0e33b9a1a23a8ee1dc087.tar.gz
bcm5719-llvm-2c5384ae4cd4d3a05ee0e33b9a1a23a8ee1dc087.zip
[pdbdump] Print section header flags.
llvm-svn: 271943
Diffstat (limited to 'llvm/tools/llvm-pdbdump/LLVMOutputStyle.cpp')
-rw-r--r--llvm/tools/llvm-pdbdump/LLVMOutputStyle.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llvm-pdbdump/LLVMOutputStyle.cpp b/llvm/tools/llvm-pdbdump/LLVMOutputStyle.cpp
index 75e87afeb74..034879bf0f4 100644
--- a/llvm/tools/llvm-pdbdump/LLVMOutputStyle.cpp
+++ b/llvm/tools/llvm-pdbdump/LLVMOutputStyle.cpp
@@ -665,7 +665,8 @@ Error LLVMOutputStyle::dumpSectionHeaders() {
P.printNumber("File Pointer to Linenumbers", Section.PointerToLinenumbers);
P.printNumber("Number of Relocations", Section.NumberOfRelocations);
P.printNumber("Number of Linenumbers", Section.NumberOfLinenumbers);
- P.printNumber("Characteristics", Section.Characteristics);
+ P.printFlags("Characteristics", Section.Characteristics,
+ getImageSectionCharacteristicNames());
}
return Error::success();
}
OpenPOWER on IntegriCloud