aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
diff options
context:
space:
mode:
authorRahul Kayaith <rkayaith@gmail.com>2023-03-02 16:06:44 -0500
committerRahul Kayaith <rkayaith@gmail.com>2023-03-03 17:03:27 -0500
commit55cf53fd0f5594eb701b5760729fdc2bd4a70584 (patch)
treed3cff40e16e45ce3901e278f7628d809f06d03b8 /lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
parentae12e57a777f2287a656e17a6ce86ca6b86edb6e (diff)
downloadllvm-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