[PATCH] D30500: [ELF] - Do not treat colon(":") as separate token in script parser.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 1 08:23:23 PST 2017


grimar created this revision.

This is PR32091,

it has next script which we failed to parse.

  GLIBCXX_3.4 {
      extern "C++" {
  ...
          "std::set_new_handler*";
          "std::set_terminate*";
          "std::set_unexpected*";
          "std::type_info::__*";
      }
  }

Patch changes logic to not treat ":" as separate token to fix issue.


https://reviews.llvm.org/D30500

Files:
  ELF/LinkerScript.cpp
  ELF/ScriptLexer.cpp
  test/ELF/version-script-extern-wildcards-anon.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30500.90184.patch
Type: text/x-patch
Size: 3999 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170301/195d91dc/attachment.bin>


More information about the llvm-commits mailing list