[PATCH] D27900: [ELF] - Keep the source file/line location information separate from the object file location information.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 9 18:51:34 PST 2017


ruiu added a comment.

How about this? You can change the type of the function from

  void error(const Twine &Msg);

to

  void error(const Twine &Msg, const Twine &Note = "");

Then you can eliminate note() function, and it will also solve the problem that you cannot call note() function after fatal().


https://reviews.llvm.org/D27900





More information about the llvm-commits mailing list