Mangle param names with .arg. only.

llvm-svn: 66343
This commit is contained in:
Sanjiv Gupta
2009-03-07 18:09:52 +00:00
parent a6ca334389
commit 06cc45ec85

View File

@@ -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.