[Profile] track ownership of filename pattern string
authorXinliang David Li <davidxl@google.com>
Tue, 2 Aug 2016 19:34:00 +0000 (19:34 +0000)
committerXinliang David Li <davidxl@google.com>
Tue, 2 Aug 2016 19:34:00 +0000 (19:34 +0000)
commit14c91c4eca6a777246973be75bfaf41a9339ad89
treec327b4b17386b431d2590cb831f6aa430c442e3d
parent83a72850c7f988c0b891eea23ee99b0865e7a2d9
[Profile] track ownership of filename pattern string

Make sure runtime copy and owns the string when passed
in from external users of runtime API.

llvm-svn: 277507
compiler-rt/lib/profile/InstrProfilingFile.c