HomePhabricator

[SimplifyLibCalls] Add __strlen_chk.

Authored by george.burgess.iv on Feb 4 2020, 10:10 PM.

Description

[SimplifyLibCalls] Add __strlen_chk.

Bionic has had __strlen_chk for a while. Optimizing that into a
constant is quite profitable, when possible.

Differential Revision: https://reviews.llvm.org/D74079

Details