1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools/llvm-cov
Zachary Turner 0b859bfff5 Refactor ExecuteAndWait to take StringRefs.
This simplifies some code which had StringRefs to begin with, and
makes other code more complicated which had const char* to begin
with.

In the end, I think this makes for a more idiomatic and platform
agnostic API.  Not all platforms launch process with null terminated
c-string arrays for the environment pointer and argv, but the api
was designed that way because it allowed easy pass-through for
posix-based platforms.  There's a little additional overhead now
since on posix based platforms we'll be takign StringRefs which
were constructed from null terminated strings and then copying
them to null terminate them again, but from a readability and
usability standpoint of the API user, I think this API signature
is strictly better.

llvm-svn: 334518
2018-06-12 17:43:52 +00:00
..
CMakeLists.txt
CodeCoverage.cpp Refactor ExecuteAndWait to take StringRefs. 2018-06-12 17:43:52 +00:00
CoverageExporter.h
CoverageExporterJson.cpp
CoverageExporterJson.h
CoverageFilters.cpp
CoverageFilters.h
CoverageReport.cpp
CoverageReport.h
CoverageSummaryInfo.cpp
CoverageSummaryInfo.h
CoverageViewOptions.h
gcov.cpp
llvm-cov.cpp
LLVMBuild.txt
RenderingSupport.h
SourceCoverageView.cpp [FileSystem] Split up the OpenFlags enumeration. 2018-06-07 19:58:58 +00:00
SourceCoverageView.h
SourceCoverageViewHTML.cpp [ADT] Make escaping fn conform to coding guidelines 2018-05-31 17:01:42 +00:00
SourceCoverageViewHTML.h
SourceCoverageViewText.cpp
SourceCoverageViewText.h
TestingSupport.cpp [FileSystem] Split up the OpenFlags enumeration. 2018-06-07 19:58:58 +00:00