[PATCH] D70011: lld patch for Linker Script UTF-8 BOM encoding capability
Cameron via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 8 10:44:47 PST 2019
cameron314 added a comment.
`ld` ignores the BOM, but still links. `lld` mistakes it for part of the next token and generates an error.
A BOM is perfectly valid at the start of a UTF-8 file (though not very useful, granted). Why //not// support it? Other tools under the LLVM umbrella do, e.g. `clang`.
Repository:
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70011/new/
https://reviews.llvm.org/D70011
More information about the llvm-commits
mailing list