[all-commits] [llvm/llvm-project] ff6dc0: [Coverage][Unittest] Fix stringref issue
jsji via All-commits
all-commits at lists.llvm.org
Wed Feb 24 07:00:04 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ff6dc053b7ba8ffb7d02c9c4560fe80b66b117b8
https://github.com/llvm/llvm-project/commit/ff6dc053b7ba8ffb7d02c9c4560fe80b66b117b8
Author: Jinsong Ji <jji at us.ibm.com>
Date: 2021-02-24 (Wed, 24 Feb 2021)
Changed paths:
M llvm/unittests/ProfileData/CoverageMappingTest.cpp
Log Message:
-----------
[Coverage][Unittest] Fix stringref issue
We will pass StringRef and change it in reader.
But we reuse the same Filename vector without clear it,
so in some systems, we may clobbeer previous results.
Reviewed By: phosek
Differential Revision: https://reviews.llvm.org/D97353
More information about the All-commits
mailing list