[all-commits] [llvm/llvm-project] 3c34ef: [DebugInfo] Move the SymbolizableObjectFile header...
Snehasish Kumar via All-commits
all-commits at lists.llvm.org
Thu Feb 3 14:38:09 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3c34ef403671f637b46ef8807ad98120c7fc0098
https://github.com/llvm/llvm-project/commit/3c34ef403671f637b46ef8807ad98120c7fc0098
Author: Snehasish Kumar <snehasishk at google.com>
Date: 2022-02-03 (Thu, 03 Feb 2022)
Changed paths:
A llvm/include/llvm/DebugInfo/Symbolize/SymbolizableObjectFile.h
M llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
R llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.h
M llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
Log Message:
-----------
[DebugInfo] Move the SymbolizableObjectFile header to include/llvm.
This change moves the SymbolizableObjectFile header to
include/llvm/DebugInfo/Symbolize. Making this header available to other
llvm libraries simplifies use cases where implicit caching, multiple
platform support and other features of the Symbolizer class are not
required. This also makes the dependent libraries easier to unit test
by having mocks which derive from SymbolizableModule.
Differential Revision: https://reviews.llvm.org/D116781
Commit: d2df8d5a78db0202ea8517d18b82ef2da8c9474a
https://github.com/llvm/llvm-project/commit/d2df8d5a78db0202ea8517d18b82ef2da8c9474a
Author: Snehasish Kumar <snehasishk at google.com>
Date: 2022-02-03 (Thu, 03 Feb 2022)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProfReader.h
M llvm/lib/ProfileData/InstrProfReader.cpp
Log Message:
-----------
[instrprof][NFC] Templatize the instrprof iterator.
This change templatizes the InstrProfIterator where the default
specialization is based on the current usage, i.e. the reader_type is
InstrProfReader and the record_type (value_type) is
NamedInstrProfRecord. A subsequent patch will use the same iterator
template to implement an iterator for the RawMemProfReader.
Differential Revision: https://reviews.llvm.org/D116782
Commit: 14f4f63af5ca501dd6cc7d766be6edb6f7c7d718
https://github.com/llvm/llvm-project/commit/14f4f63af5ca501dd6cc7d766be6edb6f7c7d718
Author: Snehasish Kumar <snehasishk at google.com>
Date: 2022-02-03 (Thu, 03 Feb 2022)
Changed paths:
M llvm/include/llvm/ProfileData/RawMemProfReader.h
M llvm/lib/ProfileData/RawMemProfReader.cpp
M llvm/test/tools/llvm-profdata/memprof-basic.test
M llvm/test/tools/llvm-profdata/memprof-multi.test
M llvm/tools/llvm-profdata/llvm-profdata.cpp
Log Message:
-----------
[memprof] Print out the summary in YAML format.
Print out the profile summary in YAML format to make it easier to for
tools and tests to read in the contents of the raw profile.
Differential Revision: https://reviews.llvm.org/D116783
Commit: 26f978d4c5ad0d2217940ef7625b0c3c0d576988
https://github.com/llvm/llvm-project/commit/26f978d4c5ad0d2217940ef7625b0c3c0d576988
Author: Snehasish Kumar <snehasishk at google.com>
Date: 2022-02-03 (Thu, 03 Feb 2022)
Changed paths:
M llvm/include/llvm/DebugInfo/DIContext.h
A llvm/include/llvm/ProfileData/MemProf.h
M llvm/include/llvm/ProfileData/RawMemProfReader.h
M llvm/lib/ProfileData/CMakeLists.txt
M llvm/lib/ProfileData/RawMemProfReader.cpp
A llvm/test/tools/llvm-profdata/Inputs/basic.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/basic.memprofraw
A llvm/test/tools/llvm-profdata/Inputs/multi.memprofexe
M llvm/test/tools/llvm-profdata/Inputs/multi.memprofraw
M llvm/test/tools/llvm-profdata/memprof-basic.test
M llvm/test/tools/llvm-profdata/memprof-multi.test
M llvm/tools/llvm-profdata/llvm-profdata.cpp
M llvm/unittests/ProfileData/CMakeLists.txt
A llvm/unittests/ProfileData/MemProfTest.cpp
Log Message:
-----------
[ProfileData] Read and symbolize raw memprof profiles.
This change extends the RawMemProfReader to read all the sections of the
raw profile and symbolize the virtual addresses recorded as part of the
callstack for each allocation. For now the symbolization is used to
display the contents of the profile with llvm-profdata.
Differential Revision: https://reviews.llvm.org/D116784
Compare: https://github.com/llvm/llvm-project/compare/9a61e731ff4c...26f978d4c5ad
More information about the All-commits
mailing list