diff options
author | Rahul Kayaith <rkayaith@gmail.com> | 2023-03-02 16:06:44 -0500 |
---|---|---|
committer | Rahul Kayaith <rkayaith@gmail.com> | 2023-03-03 17:03:27 -0500 |
commit | 55cf53fd0f5594eb701b5760729fdc2bd4a70584 (patch) | |
tree | d3cff40e16e45ce3901e278f7628d809f06d03b8 /lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp | |
parent | ae12e57a777f2287a656e17a6ce86ca6b86edb6e (diff) | |
download | llvm-55cf53fd0f5594eb701b5760729fdc2bd4a70584.zip llvm-55cf53fd0f5594eb701b5760729fdc2bd4a70584.tar.gz llvm-55cf53fd0f5594eb701b5760729fdc2bd4a70584.tar.bz2 |
[mlir][Parser] Make parse{Attribute,Type} null-terminate input
`parseAttribute` and `parseType` require null-terminated strings as
input, but this isn't great considering the argument type is
`StringRef`. This changes them to copy to a null-terminated buffer by
default, with a `isKnownNullTerminated` flag added to disable the
copying.
closes #58964
Reviewed By: rriddle, kuhar, lattner
Differential Revision: https://reviews.llvm.org/D145182
Diffstat (limited to 'lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp')
0 files changed, 0 insertions, 0 deletions