diff options
author | Florian Hahn <flo@fhahn.com> | 2019-10-07 17:05:09 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2019-10-07 17:05:09 +0000 |
commit | 90b7dc9e716450ec8ce3d64cccbb6acdb750a609 (patch) | |
tree | b28ca30b49721fbd4697bafed4ce9fae0fbd4570 /lldb/packages/Python/lldbsuite/test/python_api | |
parent | 2c3f73800fd4918c2c7a8aeaf1188d9a7e85bb87 (diff) | |
download | bcm5719-llvm-90b7dc9e716450ec8ce3d64cccbb6acdb750a609.tar.gz bcm5719-llvm-90b7dc9e716450ec8ce3d64cccbb6acdb750a609.zip |
[Remarks] Pass StringBlockValue as StringRef.
After changing the remark serialization, we now pass StringRefs to the
serializer. We should use StringRef for StringBlockVal, to avoid
creating temporary objects, which then cause StringBlockVal.Value to
point to invalid memory.
Reviewers: thegameg, anemet
Reviewed By: thegameg
Differential Revision: https://reviews.llvm.org/D68571
llvm-svn: 373923
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions