Revert "[Coverage] Store compilation dir separately in coverage mapping" #3212
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This reverts commit 5fbd1a3.
See: rdar://82543962 (Revert coverage changes from clang-1316 to make
coverage format in clang-1316 identical to clang-1300)
Testing:
remains unchanged. Driver/clang_f_opts.c required a workaround. The
coverage-compilation-dir.c test was xfailed.
llvm-cov/compilation_dir.c test is now xfailed. Coverage unit tests
pass with the exception of non_code_region_counters, which was
disabled because https://reviews.llvm.org/D101780 was folded into
this revert.
Conflicts:
clang/include/clang/Basic/CodeGenOptions.h
clang/include/clang/Driver/Options.td
clang/lib/CodeGen/CoverageMappingGen.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Profile/profile-prefix-map.c
llvm/include/llvm/ProfileData/Coverage/CoverageMappingReader.h
llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
llvm/unittests/ProfileData/CoverageMappingTest.cpp