diff options
author | George Rimar <grimar@accesssoftek.com> | 2016-02-19 11:56:49 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2016-02-19 11:56:49 +0000 |
commit | d2389bfd9d42f43c3eab305d7c019d5eeb50e09e (patch) | |
tree | 31a07ccbf1ab9b722745cfadddba123e554be301 | |
parent | 455bdd9234c8d967da57c27c994e1e2017331684 (diff) | |
download | bcm5719-llvm-d2389bfd9d42f43c3eab305d7c019d5eeb50e09e.tar.gz bcm5719-llvm-d2389bfd9d42f43c3eab305d7c019d5eeb50e09e.zip |
Attemp to heal windows buildbot
http://lab.llvm.org:8011/builders/sanitizer-windows/builds/17414
llvm-svn: 261322
-rw-r--r-- | lld/ELF/LinkerScript.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index 7cec67a6448..a3ab87c5428 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp @@ -86,16 +86,16 @@ class elf2::ScriptParser { public: ScriptParser(BumpPtrAllocator *A, StringRef S, bool B) : Saver(*A), Tokens(tokenize(S)), IsUnderSysroot(B) { - Cmd["ENTRY"] = &ScriptParser::readEntry; - Cmd["EXTERN"] = &ScriptParser::readExtern; - Cmd["GROUP"] = &ScriptParser::readGroup; - Cmd["INCLUDE"] = &ScriptParser::readInclude; - Cmd["INPUT"] = &ScriptParser::readGroup; - Cmd["OUTPUT"] = &ScriptParser::readOutput; - Cmd["OUTPUT_ARCH"] = &ScriptParser::readOutputArch; - Cmd["OUTPUT_FORMAT"] = &ScriptParser::readOutputFormat; - Cmd["SEARCH_DIR"] = &ScriptParser::readSearchDir; - Cmd["SECTIONS"] = &ScriptParser::readSections; + Cmd["ENTRY"] = std::mem_fn(&ScriptParser::readEntry); + Cmd["EXTERN"] = std::mem_fn(&ScriptParser::readExtern); + Cmd["GROUP"] = std::mem_fn(&ScriptParser::readGroup); + Cmd["INCLUDE"] = std::mem_fn(&ScriptParser::readInclude); + Cmd["INPUT"] = std::mem_fn(&ScriptParser::readGroup); + Cmd["OUTPUT"] = std::mem_fn(&ScriptParser::readOutput); + Cmd["OUTPUT_ARCH"] = std::mem_fn(&ScriptParser::readOutputArch); + Cmd["OUTPUT_FORMAT"] = std::mem_fn(&ScriptParser::readOutputFormat); + Cmd["SEARCH_DIR"] = std::mem_fn(&ScriptParser::readSearchDir); + Cmd["SECTIONS"] = std::mem_fn(&ScriptParser::readSections); Cmd[";"] = [](ScriptParser &) {}; } |