summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/IRInterpreter.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-07-16 20:52:12 +0000
committerJordan Rose <jordan_rose@apple.com>2012-07-16 20:52:12 +0000
commitfb12a53d5dd2bf37ed4304a5b01cc67b88d4c26a (patch)
tree64b183b1ed93031b00b7911bb1026de70bd398d0 /lldb/source/Expression/IRInterpreter.cpp
parent1f4ff15c91014fa72cbd6c1747b745d2b5911dce (diff)
downloadbcm5719-llvm-fb12a53d5dd2bf37ed4304a5b01cc67b88d4c26a.tar.gz
bcm5719-llvm-fb12a53d5dd2bf37ed4304a5b01cc67b88d4c26a.zip
Don't crash when emitting fixits following Unicode characters.
This code is very sensitive to the difference between "columns" as printed and "bytes" (SourceManager columns). All variables are now named explicitly and our assumptions are (hopefully) documented as both comment and assertion. Whether parseable fixits should use byte offsets or Unicode character counts is pending discussion on the mailing list; currently the implementation uses bytes (and has no problems on lines containing multibyte characters). This has been added to the user manual. <rdar://problem/11877454> llvm-svn: 160319
Diffstat (limited to 'lldb/source/Expression/IRInterpreter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud