diff options
author | Amir Ayupov <aaupov@fb.com> | 2025-05-12 20:46:01 -0700 |
---|---|---|
committer | Amir Ayupov <aaupov@fb.com> | 2025-05-12 20:50:45 -0700 |
commit | 416c782cc671a4b20ed7b9a7b92da35bbd85eae2 (patch) | |
tree | 6b918fc47a06fd6ab04c74c8911ddbb4513bb9ed /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | |
parent | 8a9e767fa690e0232db2cfa8576f53b48ae53f30 (diff) | |
download | llvm-416c782cc671a4b20ed7b9a7b92da35bbd85eae2.zip llvm-416c782cc671a4b20ed7b9a7b92da35bbd85eae2.tar.gz llvm-416c782cc671a4b20ed7b9a7b92da35bbd85eae2.tar.bz2 |
[BOLT][test] Fix perf_test
The interaction between `--show-density` and NFC testing wrapper is a
bit subtle. ShowDensity is enabled by default in perf2bolt mode, which
is detected based on executable name. NFC wrapper however replaces
the invocation of perf2bolt with `llvm-bolt --aggregate-only`, and so
ShowDensity is not enabled, which caused NFC test to fail:
https://lab.llvm.org/buildbot/#/builders/92/builds/18656
Add show-density flag explicitly to work around the issue.
Test Plan:
```
../llvm-project/bolt/utils/nfc-check-setup.py
bin/llvm-lit -a tools/bolt/test/perf2bolt/perf_test.test
```
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions