1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00
Vedant Kumar ddd27e6ac4 [llvm-cov] Get rid of all invalid filename references
We used to append filenames into a vector of std::string, and then
append a reference to each string into a separate vector. This made it
easier to work with the getUniqueSourceFiles API. But it's buggy.

std::string has a small-string optimization, so you can't expect to
capture a reference to one if you're copying it into a growing vector.
Add a test that triggers this invalid reference to std::string scenario,
and kill the issue with fire by just using ArrayRef<std::string>
everywhere.

llvm-svn: 282281
2016-09-23 18:57:32 +00:00
..
2016-01-26 21:29:08 +00:00
2016-09-01 09:42:39 +00:00
2016-04-18 09:17:29 +00:00
2016-09-15 18:22:31 +00:00
2016-09-12 17:08:28 +00:00
2016-04-18 09:17:29 +00:00
2015-12-01 00:48:34 +00:00