llvm-project/llvm/unittests/ProfileData
Petr Hosek 8280ece0c9 [Coverage] Support overriding compilation directory
When making compilation relocatable, for example in distributed
compilation scenarios, we want to set compilation dir to a relative
value like `.` but this presents a problem when generating reports
because if the file path is relative as well, for example `..`, you
may end up writing files outside of the output directory.

This change introduces a flag that allows overriding the compilation
directory that's stored inside the profile with a different value that
is absolute.

Differential Revision: https://reviews.llvm.org/D100232
2021-05-11 15:26:45 -07:00
..
CMakeLists.txt [PGO] Extend the value profile buckets for mem op sizes. 2020-08-03 11:04:32 -07:00
CoverageMappingTest.cpp [Coverage] Support overriding compilation directory 2021-05-11 15:26:45 -07:00
InstrProfDataTest.cpp [PGO] Extend the value profile buckets for mem op sizes. 2020-08-03 11:04:32 -07:00
InstrProfTest.cpp [llvm][NFC] Add missing 'override's in unittests/ 2020-07-17 17:35:59 -07:00
SampleProfTest.cpp [SampleFDO] Support enabling -funique-internal-linkage-name. 2021-03-09 21:41:40 -08:00