From 863cffbaf66b0a46df17d45d8b497d762dcabd6b Mon Sep 17 00:00:00 2001 From: Sanjiv Gupta Date: Sat, 7 Mar 2009 18:09:52 +0000 Subject: [PATCH] Mangle param names with .arg. only. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66343 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGDecl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/CGDecl.cpp b/lib/CodeGen/CGDecl.cpp index abb13376c7..6646365b45 100644 --- a/lib/CodeGen/CGDecl.cpp +++ b/lib/CodeGen/CGDecl.cpp @@ -426,7 +426,7 @@ void CodeGenFunction::EmitParmDecl(const VarDecl &D, llvm::Value *Arg) { // Targets that don't have stack use global address space for parameters. // Specify external linkage for such globals so that llvm optimizer do // not assume there values initialized as zero. - DeclPtr = CreateStaticBlockVarDecl(D, ".auto.", + DeclPtr = CreateStaticBlockVarDecl(D, ".arg.", llvm::GlobalValue::ExternalLinkage); } else { // A fixed sized single-value variable becomes an alloca in the entry block. -- 2.40.0