[PATCH] D37331: [ELF] Prevent crash with binary inputs with non-ascii file names

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 31 11:49:46 PDT 2017


ruiu added a comment.

> Find a unicode character whose encoding contains a byte > 128

Its basically any non-ASCII character. But is it portable? I mean, for example, if Windows crt converts an command line argument into UTF-16 encoding, this test will fail due to the difference of number of underscores.


https://reviews.llvm.org/D37331





More information about the llvm-commits mailing list