summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/CMakeLists.txt
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-05-20 19:55:17 +0000
committerRui Ueyama <ruiu@google.com>2016-05-20 19:55:17 +0000
commit0fcd82605e448f52d80de4c74bd0a19376b9052e (patch)
treed4a605b46337baaea7bd2dcb1ed1f50559876dc6 /llvm/lib/DebugInfo/PDB/CMakeLists.txt
parentf7449a179b5398295ece62dbcc250686179a6dfd (diff)
downloadbcm5719-llvm-0fcd82605e448f52d80de4c74bd0a19376b9052e.tar.gz
bcm5719-llvm-0fcd82605e448f52d80de4c74bd0a19376b9052e.zip
pdbdump: print out symbol names referred by publics stream.
DBI stream contains a stream number of the symbol record stream. Symbol record streams is an array of length-type-value members. Each member represents one symbol. Publics stream contains offsets to the symbol record stream. This patch is to print out all symbols that are referenced by the publics stream. Note that even with this patch, llvm-pdbdump cannot dump all the information in a publics stream since it contains more information than symbol names. I'll improve it in followup patches. Differential Revision: http://reviews.llvm.org/D20480 llvm-svn: 270262
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/CMakeLists.txt')
-rw-r--r--llvm/lib/DebugInfo/PDB/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/PDB/CMakeLists.txt b/llvm/lib/DebugInfo/PDB/CMakeLists.txt
index bda67468df5..b5053c51f3a 100644
--- a/llvm/lib/DebugInfo/PDB/CMakeLists.txt
+++ b/llvm/lib/DebugInfo/PDB/CMakeLists.txt
@@ -41,6 +41,7 @@ add_pdb_impl_folder(Raw
Raw/RawError.cpp
Raw/RawSession.cpp
Raw/StreamReader.cpp
+ Raw/SymbolStream.cpp
Raw/TpiStream.cpp)
list(APPEND LIBPDB_ADDITIONAL_HEADER_DIRS "${LLVM_MAIN_INCLUDE_DIR}/llvm/DebugInfo/PDB")
OpenPOWER on IntegriCloud