[all-commits] [llvm/llvm-project] d896ea: [llvm-debuginfo-analyzer] Return by reference inst...
Carlos Alberto Enciso via All-commits
all-commits at lists.llvm.org
Wed Nov 16 22:32:50 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d896ea75c59105053a201ada43fb8b54fdb7eb54
https://github.com/llvm/llvm-project/commit/d896ea75c59105053a201ada43fb8b54fdb7eb54
Author: Carlos Alberto Enciso <carlos.alberto.enciso at gmail.com>
Date: 2022-11-17 (Thu, 17 Nov 2022)
Changed paths:
M llvm/include/llvm/DebugInfo/LogicalView/Core/LVScope.h
Log Message:
-----------
[llvm-debuginfo-analyzer] Return by reference instead of value.
The following functions are used in the unittest, to access
invalid data detected by the Reader during the debug information
analysis:
- getDebugTags
- getWarningOffsets
- getInvalidLocations
- getInvalidCoverages
- getInvalidRanges
- getLinesZero
Just return a reference to the container with the information.
Reviewed By: dblaikie
Differential Revision: https://reviews.llvm.org/D138092
More information about the All-commits
mailing list