[all-commits] [llvm/llvm-project] 70e62a: [ELF] Suggest extern "C" when an undefined referen...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Fri Nov 8 09:43:32 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 70e62a4fa6c2146fb49ee4460dad8e04152ce0a6
https://github.com/llvm/llvm-project/commit/70e62a4fa6c2146fb49ee4460dad8e04152ce0a6
Author: Fangrui Song <maskray at google.com>
Date: 2019-11-08 (Fri, 08 Nov 2019)
Changed paths:
M lld/ELF/CMakeLists.txt
M lld/ELF/Relocations.cpp
A lld/test/ELF/undef-suggest-extern-c.s
Log Message:
-----------
[ELF] Suggest extern "C" when an undefined reference is mangled while the definition is not
When missing an extern "C" declaration, an undefined reference may be
mangled while the definition is not. Suggest the missing
extern "C" and the base name.
Reviewed By: ruiu
Differential Revision: https://reviews.llvm.org/D69592
More information about the All-commits
mailing list