[all-commits] [llvm/llvm-project] 98ff6e: Cleanup the plumbing for DILineInfoSpecifier. [NFC]
Sterling-Augustine via All-commits
all-commits at lists.llvm.org
Thu Mar 19 16:57:03 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 98ff6eb679cd5a2556d990d3d629e6c03c1da6a0
https://github.com/llvm/llvm-project/commit/98ff6eb679cd5a2556d990d3d629e6c03c1da6a0
Author: Sterling Augustine <saugustine at google.com>
Date: 2020-03-19 (Thu, 19 Mar 2020)
Changed paths:
M llvm/include/llvm/DebugInfo/DIContext.h
M llvm/include/llvm/DebugInfo/Symbolize/DIPrinter.h
M llvm/include/llvm/DebugInfo/Symbolize/SymbolizableModule.h
M llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h
M llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
M llvm/lib/DebugInfo/Symbolize/DIPrinter.cpp
M llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
M llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.h
M llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
M llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
M llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp
Log Message:
-----------
Cleanup the plumbing for DILineInfoSpecifier. [NFC]
Summary:
1. FileLineInfoSpecifier::Default isn't the default for anything.
Rename to RawValue, which accurately reflects its role.
2. Most functions that take a part of a FileLineInfoSpecifier end up
constructing a full one later or plumb two values through. Make them
all just take a complete FileLineInfoSpecifier.
3. Printing basenames only was handled differently from all other
variants, make it parallel to all the other variants.
Reviewers: jhenderson
Subscribers: hiraditya, MaskRay, rupprecht, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D76394
More information about the All-commits
mailing list