diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-02-14 01:58:08 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-02-14 01:58:08 +0000 |
commit | 382a5530ec0682d8dd17f7d9212f52ace38460ed (patch) | |
tree | 906170375efca1b55de492fdca6726017b8e376b /lib/Target/X86 | |
parent | c0c2816fb3d137c096d0bd20b8ad2d92ce25a976 (diff) | |
download | external_llvm-382a5530ec0682d8dd17f7d9212f52ace38460ed.zip external_llvm-382a5530ec0682d8dd17f7d9212f52ace38460ed.tar.gz external_llvm-382a5530ec0682d8dd17f7d9212f52ace38460ed.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175120 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86')
0 files changed, 0 insertions, 0 deletions