]> granicus.if.org Git - llvm/commit
[OptDiag] Remove non-printable chars from function name
authorAdam Nemet <anemet@apple.com>
Thu, 10 Nov 2016 17:47:03 +0000 (17:47 +0000)
committerAdam Nemet <anemet@apple.com>
Thu, 10 Nov 2016 17:47:03 +0000 (17:47 +0000)
commit9bf32e200d8d451431ab36c05ba4b0fab48cca67
tree9c2c6bdfd0a21a73c915509fcf1e29af884324ab
parent9ae088bf72bd5b6db8841c619a396de4fe538f47
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286482 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/OptimizationDiagnosticInfo.cpp
test/Transforms/Inline/optimization-remarks-yaml.ll