[PATCH] D105399: [lld/mac] Don't crash on 32-bit output binaries when dead-stripping

Thorsten via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 4 10:27:19 PDT 2021


tschuett added a comment.

In D105399#2857058 <https://reviews.llvm.org/D105399#2857058>, @thakis wrote:

> In D105399#2857040 <https://reviews.llvm.org/D105399#2857040>, @tschuett wrote:
>
>> This is not the same as `std::numeric_limits<Ptr>::max()`?
>
> Yes, it's the same.

`static_cast`+ Macro feels hacky. `numeric_limits` is more descriptive.


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

https://reviews.llvm.org/D105399



More information about the llvm-commits mailing list