[llvm-xray] Store offset pointers in temporaries
authorPetr Hosek <phosek@chromium.org>
Fri, 14 Dec 2018 05:56:20 +0000 (05:56 +0000)
committerPetr Hosek <phosek@chromium.org>
Fri, 14 Dec 2018 05:56:20 +0000 (05:56 +0000)
commit27e2f2014aa659dac5fb999a96ba57faa32aaa61
tree48acfaf94fb98913c42ca6acc1436a31451e816b
parentf03e8023b70b2256fef55802d5e3832d70c6a080
[llvm-xray] Store offset pointers in temporaries

DataExtractor::getU64 modifies the OffsetPtr which also pass to
RelocateOrElse which breaks on Windows. This addresses the issue
introduced in r349120.

Differential Revision: https://reviews.llvm.org/D55689

llvm-svn: 349129
llvm/lib/XRay/InstrumentationMap.cpp