From 7da20c39ee1b80838e036fc1c586e3806c9fe9b9 Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Thu, 10 Nov 2016 17:47:03 +0000 Subject: [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 --- llvm/test/Transforms/Inline/optimization-remarks-yaml.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/test/Transforms/Inline') 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 -- cgit v1.2.3