summaryrefslogtreecommitdiffstats
path: root/llvm/utils/llvm-locstats/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Re-land "[cmake] Add dependency on llvm-dwarfdump to llvm-locstats"David Spickett2019-12-201-0/+4
| | | | This reverts commit f8e2ab3cd347cb7fb959ea0ece795f4eb347094c.
* Revert "[cmake] Add dependency on llvm-dwarfdump to llvm-locstats"David Spickett2019-12-191-4/+0
| | | | | | This reverts commit ba430f503244d1498529d47f31090cdf79b5c231. Which appears to have caused a failure on the lld-x86_64-ubuntu-fast buildbot.
* [cmake] Add dependency on llvm-dwarfdump to llvm-locstatsDavid Spickett2019-12-191-0/+4
| | | | | | | | | | | | Though llvm-locstat is a "util" it requires llvm-dwarfdump to be useful. So what happens now is that unless LLVM_BUILD_TOOLS is ON llvm-locstats won't be part of the "all" target. However given that it requires llvm-dwarfdump, this is less confusing/build time consuming than suddenly having llvm-dwarfdump build when all other tools are disabled. Differential Revision: https://reviews.llvm.org/D71705
* [cmake] Include the llvm-locstats target whenDavid Spickett2019-12-191-1/+1
| | | | | | | | | | | | | utils and tools are not being built. This was uncovered by: https://reviews.llvm.org/D71611 Which added llvm-locstats to the test dependencies. Previously the build target was only added if you were building tools. This meant that you couldn't configure at all if you had LLVM_BUILD_TOOLS=OFF. Differential revision: https://reviews.llvm.org/D71695
* [llvm-locstats] Copy the script only when needed; NFCDjordje Todorovic2019-10-031-2/+7
| | | | llvm-svn: 373596
* Reland "[utils] Implement the llvm-locstats tool"Djordje Todorovic2019-10-021-0/+7
| | | | | | | | | | | | | | | | | | The tool reports verbose output for the DWARF debug location coverage. The llvm-locstats for each variable or formal parameter DIE computes what percentage from the code section bytes, where it is in scope, it has location description. The line 0 shows the number (and the percentage) of DIEs with no location information, but the line 100 shows the number (and the percentage) of DIEs where there is location information in all code section bytes (where the variable or parameter is in the scope). The line 50..59 shows the number (and the percentage) of DIEs where the location information is in between 50 and 59 percentage of its scope covered. Differential Revision: https://reviews.llvm.org/D66526 The cause of the test failure was resolved. llvm-svn: 373427
* Revert "Reland "[utils] Implement the llvm-locstats tool""Djordje Todorovic2019-10-011-7/+0
| | | | | | | This reverts commit rL373317 due to test failure on the clang-s390x-linux build bot. llvm-svn: 373336
* Reland "[utils] Implement the llvm-locstats tool"Djordje Todorovic2019-10-011-0/+7
| | | | | | | | | | | | | | | | The tool reports verbose output for the DWARF debug location coverage. The llvm-locstats for each variable or formal parameter DIE computes what percentage from the code section bytes, where it is in scope, it has location description. The line 0 shows the number (and the percentage) of DIEs with no location information, but the line 100 shows the number (and the percentage) of DIEs where there is location information in all code section bytes (where the variable or parameter is in the scope). The line 50..59 shows the number (and the percentage) of DIEs where the location information is in between 50 and 59 percentage of its scope covered. Differential Revision: https://reviews.llvm.org/D66526 llvm-svn: 373317
* Revert "Reland "[utils] Implement the llvm-locstats tool""Djordje Todorovic2019-09-301-7/+0
| | | | | | This reverts commit rL373183. llvm-svn: 373200
* Reland "[utils] Implement the llvm-locstats tool"Djordje Todorovic2019-09-301-0/+7
| | | | | | | | | | | | | | | | The tool reports verbose output for the DWARF debug location coverage. The llvm-locstats for each variable or formal parameter DIE computes what percentage from the code section bytes, where it is in scope, it has location description. The line 0 shows the number (and the percentage) of DIEs with no location information, but the line 100 shows the number (and the percentage) of DIEs where there is location information in all code section bytes (where the variable or parameter is in the scope). The line 50..59 shows the number (and the percentage) of DIEs where the location information is in between 50 and 59 percentage of its scope covered. Differential Revision: https://reviews.llvm.org/D66526 llvm-svn: 373183
* Revert "Reland "[utils] Implement the llvm-locstats tool""Djordje Todorovic2019-09-231-7/+0
| | | | | | This reverts commit rL372554. llvm-svn: 372580
* Reland "[utils] Implement the llvm-locstats tool"Djordje Todorovic2019-09-231-0/+7
| | | | | | | | | | | | | | | | The tool reports verbose output for the DWARF debug location coverage. The llvm-locstats for each variable or formal parameter DIE computes what percentage from the code section bytes, where it is in scope, it has location description. The line 0 shows the number (and the percentage) of DIEs with no location information, but the line 100 shows the number (and the percentage) of DIEs where there is location information in all code section bytes (where the variable or parameter is in the scope). The line 50..59 shows the number (and the percentage) of DIEs where the location information is in between 50 and 59 percentage of its scope covered. Differential Revision: https://reviews.llvm.org/D66526 llvm-svn: 372554
* Revert "[utils] Implement the llvm-locstats tool"Djordje Todorovic2019-09-101-6/+0
| | | | | | This reverts commit rL371520. llvm-svn: 371527
* [utils] Implement the llvm-locstats toolDjordje Todorovic2019-09-101-0/+6
The tool reports verbose output for the DWARF debug location coverage. The llvm-locstats for each variable or formal parameter DIE computes what percentage from the code section bytes, where it is in scope, it has location description. The line 0 shows the number (and the percentage) of DIEs with no location information, but the line 100 shows the number (and the percentage) of DIEs where there is location information in all code section bytes (where the variable or parameter is in the scope). The line 50..59 shows the number (and the percentage) of DIEs where the location information is in between 50 and 59 percentage of its scope covered. The tool will be very useful for tracking improvements regarding the "debugging optimized code" support with LLVM ecosystem. Differential Revision: https://reviews.llvm.org/D66526 llvm-svn: 371520
OpenPOWER on IntegriCloud