|
Revision tags: llvmorg-20.1.0, llvmorg-20.1.0-rc3, llvmorg-20.1.0-rc2, llvmorg-20.1.0-rc1, llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init, llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4, llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1, llvmorg-16.0.0, llvmorg-16.0.0-rc4, llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2, llvmorg-16.0.0-rc1, llvmorg-17-init, llvmorg-15.0.7, llvmorg-15.0.6, llvmorg-15.0.5, llvmorg-15.0.4, llvmorg-15.0.3, llvmorg-15.0.2, llvmorg-15.0.1, llvmorg-15.0.0, llvmorg-15.0.0-rc3, llvmorg-15.0.0-rc2, llvmorg-15.0.0-rc1, llvmorg-16-init, llvmorg-14.0.6 |
|
| #
103b2890 |
| 15-Jun-2022 |
Fangrui Song <[email protected]> |
[llvm-profdata][test] Change -Wl,-no-pie to -no-pie after D127808
The driver option -no-pie is preferred: Clang selects different crt*.o files, though the PIC one usually can replace the non-PIC one.
|
| #
b0c51f00 |
| 14-Jun-2022 |
Snehasish Kumar <[email protected]> |
[memprof] Update the test comments to include -Wl,-no-pie
Until we have symbolization for position independent code lets update this documentation since clang now defaults to position independent co
[memprof] Update the test comments to include -Wl,-no-pie
Until we have symbolization for position independent code lets update this documentation since clang now defaults to position independent code.
Reviewed By: tejohnson
Differential Revision: https://reviews.llvm.org/D127808
show more ...
|
|
Revision tags: llvmorg-14.0.5 |
|
| #
8a87f42f |
| 01-Jun-2022 |
Snehasish Kumar <[email protected]> |
[memprof] Print out the segment information in YAML format.
This change prints out the segment information in the raw profile in YAML format for testing. Since we don't capture build ids yet, we pri
[memprof] Print out the segment information in YAML format.
This change prints out the segment information in the raw profile in YAML format for testing. Since we don't capture build ids yet, we print out <None> for now.
Reviewed By: tejohnson
Differential Revision: https://reviews.llvm.org/D126840
show more ...
|
| #
962db7de |
| 01-Jun-2022 |
Snehasish Kumar <[email protected]> |
[memprof] Update summary output.
Update the YAML format print out of the profile to include a summary instead of displaying the headers in the raw file buffer. This allows us to release the raw buff
[memprof] Update summary output.
Update the YAML format print out of the profile to include a summary instead of displaying the headers in the raw file buffer. This allows us to release the raw buffer early saving memory.
Reviewed By: tejohnson
Differential Revision: https://reviews.llvm.org/D126834
show more ...
|
| #
ec51971e |
| 24-May-2022 |
Snehasish Kumar <[email protected]> |
[memprof] Keep and display symbol names in the RawMemProfReader.
Extend the Frame struct to hold the symbol name if requested when a RawMemProfReader object is constructed. This change updates the t
[memprof] Keep and display symbol names in the RawMemProfReader.
Extend the Frame struct to hold the symbol name if requested when a RawMemProfReader object is constructed. This change updates the tests and removes the need to pass --debug to obtain the mapping from GUID to symbol names.
Reviewed By: tejohnson
Differential Revision: https://reviews.llvm.org/D126344
show more ...
|
|
Revision tags: llvmorg-14.0.4, llvmorg-14.0.3, llvmorg-14.0.2, llvmorg-14.0.1 |
|
| #
27a4f254 |
| 22-Mar-2022 |
Snehasish Kumar <[email protected]> |
Reland "[memprof] Store callsite metadata with memprof records."
This reverts commit f4b794427e8037a4e952cacdfe7201e961f31a6f.
Reland with underlying msan issue fixed in D122260.
|
| #
f4b79442 |
| 21-Mar-2022 |
Mitch Phillips <[email protected]> |
Revert "[memprof] Store callsite metadata with memprof records."
This reverts commit 0d362c90d335509c57c0fbd01ae1829e2b9c3765.
Reason: Causes the MSan buildbot to fail (see comments on https://revi
Revert "[memprof] Store callsite metadata with memprof records."
This reverts commit 0d362c90d335509c57c0fbd01ae1829e2b9c3765.
Reason: Causes the MSan buildbot to fail (see comments on https://reviews.llvm.org/D121179 for more information
show more ...
|
|
Revision tags: llvmorg-14.0.0, llvmorg-14.0.0-rc4, llvmorg-14.0.0-rc3 |
|
| #
0d362c90 |
| 02-Mar-2022 |
Snehasish Kumar <[email protected]> |
[memprof] Store callsite metadata with memprof records.
To ease profile annotation, each of the callsites in a function can be annotated with profile data - "IR metadata format for MemProf" [1]. Thi
[memprof] Store callsite metadata with memprof records.
To ease profile annotation, each of the callsites in a function can be annotated with profile data - "IR metadata format for MemProf" [1]. This patch extends the on-disk serialized record format to store the debug information for allocation callsites incl inline frames. This change is incompatible with the existing format i.e. indexed profiles must be regenerated, raw profiles are unaffected.
[1] https://groups.google.com/g/llvm-dev/c/aWHsdMxKAfE/m/WtEmRqyhAgAJ
Reviewed By: tejohnson
Differential Revision: https://reviews.llvm.org/D121179
show more ...
|
| #
11314f40 |
| 03-Mar-2022 |
Snehasish Kumar <[email protected]> |
[memprof] Filter out callstack frames which cannot be symbolized.
This patch filters out callstack frames which can't be symbolized or if the frames belong to the runtime. Symbolization may not be p
[memprof] Filter out callstack frames which cannot be symbolized.
This patch filters out callstack frames which can't be symbolized or if the frames belong to the runtime. Symbolization may not be possible if debug information is unavailable or if the addresses are from a shared library. For now we only support optimization of the main binary which is statically linked to the compiler runtime.
Differential Revision: https://reviews.llvm.org/D120860
show more ...
|
|
Revision tags: llvmorg-14.0.0-rc2 |
|
| #
50713461 |
| 14-Feb-2022 |
Snehasish Kumar <[email protected]> |
Reland "[memprof] Introduce a wrapper around MemInfoBlock."
This reverts commit e6999040f5758f89a64b6232119b775b7bd1c85b.
Update test to fix signed int comparison warning, fix whitespace in compile
Reland "[memprof] Introduce a wrapper around MemInfoBlock."
This reverts commit e6999040f5758f89a64b6232119b775b7bd1c85b.
Update test to fix signed int comparison warning, fix whitespace in compiler-rt MIBEntryDef.inc file.
Differential Revision: https://reviews.llvm.org/D117256
show more ...
|
| #
e6999040 |
| 14-Feb-2022 |
Snehasish Kumar <[email protected]> |
Revert "[memprof] Introduce a wrapper around MemInfoBlock."
This reverts commit 9b67165285c5e752fce3b554769f5a22e7b38da8. [3/4]
|
|
Revision tags: llvmorg-14.0.0-rc1, llvmorg-15-init, llvmorg-13.0.1, llvmorg-13.0.1-rc3 |
|
| #
9b671652 |
| 19-Jan-2022 |
Snehasish Kumar <[email protected]> |
[memprof] Introduce a wrapper around MemInfoBlock.
Use the macro based format to add a wrapper around the MemInfoBlock when stored in the MemProfRecord. This wrapped block can then be serialized/des
[memprof] Introduce a wrapper around MemInfoBlock.
Use the macro based format to add a wrapper around the MemInfoBlock when stored in the MemProfRecord. This wrapped block can then be serialized/deserialized based on a schema specified by a list of enums.
Differential Revision: https://reviews.llvm.org/D117256
show more ...
|
| #
216575e5 |
| 04-Feb-2022 |
Snehasish Kumar <[email protected]> |
Revert "Revert "[ProfileData] Read and symbolize raw memprof profiles.""
This reverts commit dbf47d227d080e4eb7239b589660f51d7b08afa9.
Reapply https://reviews.llvm.org/D116784 now that https://revi
Revert "Revert "[ProfileData] Read and symbolize raw memprof profiles.""
This reverts commit dbf47d227d080e4eb7239b589660f51d7b08afa9.
Reapply https://reviews.llvm.org/D116784 now that https://reviews.llvm.org/D118413 has landed with a couple of fixes: * fix raw profile reader unaligned access identified by ubsan * fix windows build by using MOCK_CONST_METHOD3 instead of MOCK_METHOD.
show more ...
|
| #
dbf47d22 |
| 04-Feb-2022 |
Snehasish Kumar <[email protected]> |
Revert "[ProfileData] Read and symbolize raw memprof profiles."
This reverts commit 26f978d4c5ad0d2217940ef7625b0c3c0d576988.
This patch added a transitive dependency on libcurl via symbolize. See
Revert "[ProfileData] Read and symbolize raw memprof profiles."
This reverts commit 26f978d4c5ad0d2217940ef7625b0c3c0d576988.
This patch added a transitive dependency on libcurl via symbolize. See discussion https://reviews.llvm.org/D116784#inline-1137928 https://reviews.llvm.org/D113717#3295350
show more ...
|
|
Revision tags: llvmorg-13.0.1-rc2 |
|
| #
26f978d4 |
| 29-Dec-2021 |
Snehasish Kumar <[email protected]> |
[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 th
[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
show more ...
|
| #
14f4f63a |
| 07-Jan-2022 |
Snehasish Kumar <[email protected]> |
[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 Revisi
[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
show more ...
|
| #
3a4d373e |
| 30-Nov-2021 |
Snehasish Kumar <[email protected]> |
[memprof] Align each rawprofile section to 8b.
The first 8b of each raw profile section need to be aligned to 8b since the first item in each section is a u64 count of the number of items in the sec
[memprof] Align each rawprofile section to 8b.
The first 8b of each raw profile section need to be aligned to 8b since the first item in each section is a u64 count of the number of items in the section. Summary of changes: * Assert alignment when reading counts. * Update test to check alignment, relax some size checks to allow padding. * Update raw binary inputs for llvm-profdata tests.
Differential Revision: https://reviews.llvm.org/D114826
show more ...
|
| #
86d5dc9a |
| 30-Nov-2021 |
Snehasish Kumar <[email protected]> |
[memprof] Disallow memprof profile reader tests on non-x86 archs.
The memprof profile reader tests rely on binary data which is generated from and meant to be interpreted on little endian architectu
[memprof] Disallow memprof profile reader tests on non-x86 archs.
The memprof profile reader tests rely on binary data which is generated from and meant to be interpreted on little endian architectures. Add a REQUIRES: x86_64-linux clause to both tests to ensure they don't fail on big endian targets such as ppc.
show more ...
|
|
Revision tags: llvmorg-13.0.1-rc1 |
|
| #
7cca33b4 |
| 19-Nov-2021 |
Snehasish Kumar <[email protected]> |
[memprof] Extend llvm-profdata to display MemProf profile summaries.
This commit adds initial support to llvm-profdata to read and print summaries of raw memprof profiles. Summary of changes: * Refa
[memprof] Extend llvm-profdata to display MemProf profile summaries.
This commit adds initial support to llvm-profdata to read and print summaries of raw memprof profiles. Summary of changes: * Refactor shared defs to MemProfData.inc * Extend show_main to display memprof profile summaries. * Add a simple raw memprof profile reader. * Add a couple of tests to tools/llvm-profdata.
Differential Revision: https://reviews.llvm.org/D114286
show more ...
|