[PATCH] D36140: [ELF] - Do not segfault if linkerscript tries to access Target too early.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 05:49:53 PDT 2017


ruiu added a comment.

Please define a helper function `getPageSize()` to avoid repeating the same error checking twice.


https://reviews.llvm.org/D36140





More information about the llvm-commits mailing list