summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct/main.cpp
diff options
context:
space:
mode:
authorHonggyu Kim <hong.gyu.kim@lge.com>2016-09-01 11:44:06 +0000
committerHonggyu Kim <hong.gyu.kim@lge.com>2016-09-01 11:44:06 +0000
commit9eb6a1025147d2d8f1c5cf90bff7a4fdc2916424 (patch)
treebc648712f572c5e2619b1e19ecee5c14d211bba5 /lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct/main.cpp
parent2e50d8edc6dfb3908903da116395a2a43d26eb87 (diff)
downloadbcm5719-llvm-9eb6a1025147d2d8f1c5cf90bff7a4fdc2916424.tar.gz
bcm5719-llvm-9eb6a1025147d2d8f1c5cf90bff7a4fdc2916424.zip
[IR] Properly handle escape characters in Attribute::getAsString()
If an attribute name has special characters such as '\01', it is not properly printed in LLVM assembly language format. Since the format expects the special characters are printed as it is, it has to contain escape characters to make it printable. Before: attributes #0 = { ... "counting-function"="^A__gnu_mcount_nc" ... After: attributes #0 = { ... "counting-function"="\01__gnu_mcount_nc" ... Reviewers: hfinkel, rengolin, rjmccall, compnerd Subscribers: nemanjai, mcrosier, hans, shenhan, majnemer, llvm-commits Differential Revision: https://reviews.llvm.org/D23792 llvm-svn: 280357
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/anonymous-struct/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud