[PATCH] D78578: [flang] Fix handling of files without terminating newlines.

David Truby via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 22 17:59:13 PDT 2020


DavidTruby added a comment.

Well, currently this will crash if there isn't enough free memory with an error in the MemoryBuffer code. What other sensible behaviour is there? We can't continue if there's no memory as we'll have an infinite loop in the parser so crashing out seems the only option?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78578





More information about the llvm-commits mailing list