Skip to content

Revert "[Coverage] Store compilation dir separately in coverage mapping" #3212

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 31, 2021

Conversation

vedantk
Copy link

@vedantk vedantk commented Aug 31, 2021

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:

  • check-profile passed before and after this revert.
  • check-clang reported 4 failing tests prior to this revert; that
    remains unchanged. Driver/clang_f_opts.c required a workaround. The
    coverage-compilation-dir.c test was xfailed.
  • check-llvm passed before and after this revert. The
    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

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:
  * check-profile passed before and after this revert.
  * check-clang reported 4 failing tests prior to this revert; that
    remains unchanged. Driver/clang_f_opts.c required a workaround. The
    coverage-compilation-dir.c test was xfailed.
  * check-llvm passed before and after this revert. The
    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
@vedantk vedantk merged commit f059854 into stable/20210726 Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant