[PATCH] D65499: [ELF] Fix finding the location in messages for undefined hidden symbols.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 30 23:59:42 PDT 2019


ruiu added inline comments.


================
Comment at: Common/ErrorHandler.cpp:99
       std::regex(
-          R"(^undefined (internal|hidden|protected) symbol: .*\n>>> referenced by (\S+):(\d+)\n.*)"),
+          R"(^undefined (?:internal|hidden|protected) symbol: .*\n>>> referenced by (\S+):(\d+)\n.*)"),
       std::regex(R"((\S+):(\d+): unclosed quote)"),
----------------
Or maybe you can relax this parentheses to `\S+`.


Repository:
  rLLD LLVM Linker

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65499/new/

https://reviews.llvm.org/D65499





More information about the llvm-commits mailing list