[PATCH] D26604: [ELF] - Added support for extern "c++" local symbols in version script.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 14 11:00:16 PST 2016
ruiu added inline comments.
================
Comment at: ELF/LinkerScript.cpp:1799-1808
+ for (;;) {
+ if (consume("extern"))
+ readExtern(&Locals);
+ StringRef Cur = peek();
+ if (Cur == "}" || Error)
+ return;
StringRef Tok = next();
----------------
We have very similar code in readGlobal. Can you factor it out?
https://reviews.llvm.org/D26604
More information about the llvm-commits
mailing list