mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-27 05:30:49 +00:00
Drop the LLVM mangler escape when printing the IR name in assembly comments
I'm tired of seeing this: .globl "?Test@@YAXXZ" # -- Begin function ^A?Test@@YAXXZ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306855 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f16503af2b
commit
8187cd601c
@ -631,7 +631,9 @@ void AsmPrinter::EmitFunctionHeader() {
|
||||
const Function *F = MF->getFunction();
|
||||
|
||||
if (isVerbose())
|
||||
OutStreamer->GetCommentOS() << "-- Begin function " << F->getName() << '\n';
|
||||
OutStreamer->GetCommentOS()
|
||||
<< "-- Begin function "
|
||||
<< GlobalValue::dropLLVMManglingEscape(F->getName()) << '\n';
|
||||
|
||||
// Print out constants referenced by the function
|
||||
EmitConstantPool();
|
||||
|
Loading…
Reference in New Issue
Block a user