OSDN Git Service

[NativeSession] Add column numbers to NativeLineNumber.
authorAmy Huang <akhuang@google.com>
Tue, 16 Jun 2020 00:26:42 +0000 (17:26 -0700)
committerAmy Huang <akhuang@google.com>
Tue, 7 Jul 2020 16:59:22 +0000 (09:59 -0700)
commit9ee90a490563a735ddaa739a34c2204c7494826f
treec9fb4ca5dbae379998405574e04a3d9a30b283db
parent09b81a72ac67c035f74ff369e6862d75cc4c4090
[NativeSession] Add column numbers to NativeLineNumber.

Summary:
This adds column numbers if they are present, and otherwise
sets the column number to be zero.

Bug: https://bugs.llvm.org/show_bug.cgi?id=41795

Reviewers: amccarth

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81950
llvm/include/llvm/DebugInfo/PDB/Native/NativeLineNumber.h
llvm/include/llvm/DebugInfo/PDB/Native/SymbolCache.h
llvm/lib/DebugInfo/PDB/Native/NativeLineNumber.cpp
llvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp
llvm/test/tools/llvm-symbolizer/pdb/Inputs/test-columns.exe [new file with mode: 0644]
llvm/test/tools/llvm-symbolizer/pdb/Inputs/test-columns.pdb [new file with mode: 0644]
llvm/test/tools/llvm-symbolizer/pdb/Inputs/test.cpp
llvm/test/tools/llvm-symbolizer/pdb/pdb-native-columns.test [new file with mode: 0644]