This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] [llvm-cov] Test for "Don't remap existing paths"
Needs ReviewPublic

Authored by greened on Oct 25 2018, 2:06 PM.

Details

Summary

This is a test for the llvm-cov change to not remap paths for source files that exist. It lives in compiler-rt because it uses clang to generate the profiled binary. It doesn't seem possible to create a static binary for a test within llvm because such a static binary will necessarily encode a fixed source path which may not even exist in the developers workarea. A test using clang to generate the binary makes it "relocatable" to whatever build setup the developer has.

Diff Detail

Event Timeline

greened created this revision.Oct 25 2018, 2:06 PM
Herald added subscribers: Restricted Project, llvm-commits, dberris. · View Herald TranscriptOct 25 2018, 2:06 PM

Corresponding differential is here:

https://reviews.llvm.org/D53729

vsk resigned from this revision.Jul 10 2019, 2:29 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 10 2019, 2:29 PM