Skip to content
Commit 76499349 authored by Rafael Espindola's avatar Rafael Espindola
Browse files

Don't asume that a static function in an extern "C" block will not be mangled.

Since functions with internal linkage don't have language linkage, it is valid
to overload them:

extern "C" {
       static int foo();
       static int foo(int);
}

So we mangle them.

llvm-svn: 175120
parent 5bda63f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment