summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/Inline
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2016-11-10 17:47:03 +0000
committerAdam Nemet <anemet@apple.com>2016-11-10 17:47:03 +0000
commit7da20c39ee1b80838e036fc1c586e3806c9fe9b9 (patch)
treec32fea13e2b32b4080fc237b9689a331d7fb9a07 /llvm/test/Transforms/Inline
parentd67af68f06383c1fe2bab980f47768f39e77f03b (diff)
downloadbcm5719-llvm-7da20c39ee1b80838e036fc1c586e3806c9fe9b9.tar.gz
bcm5719-llvm-7da20c39ee1b80838e036fc1c586e3806c9fe9b9.zip
[OptDiag] Remove non-printable chars from function name
The r283656 did this in the remark arguments. We also need to do this in the main function attribute as that is written to YAML as well. llvm-svn: 286482
Diffstat (limited to 'llvm/test/Transforms/Inline')
-rw-r--r--llvm/test/Transforms/Inline/optimization-remarks-yaml.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/Inline/optimization-remarks-yaml.ll b/llvm/test/Transforms/Inline/optimization-remarks-yaml.ll
index cfdd3e657a9..532e443e217 100644
--- a/llvm/test/Transforms/Inline/optimization-remarks-yaml.ll
+++ b/llvm/test/Transforms/Inline/optimization-remarks-yaml.ll
@@ -49,7 +49,7 @@ target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.11.0"
; Function Attrs: nounwind ssp uwtable
-define i32 @baz() !dbg !7 !prof !14 {
+define i32 @"\01baz"() !dbg !7 !prof !14 {
entry:
%call = call i32 (...) @foo(), !dbg !9
%call1 = call i32 (...) @"\01bar"(), !dbg !10
OpenPOWER on IntegriCloud