HomePhabricator

[MetaRenamer] Don't rename library functions.

Description

[MetaRenamer] Don't rename library functions.

Library functions can have specific semantics that affect the behavior of
certain passes. DSE, for instance, gives special treatment to malloc-ed pointers
but not to pointers returned from an equivalently typed (but differently named)
function.

MetaRenamer ought not to alter program semantics, so library functions must
remain untouched.

Reviewers: mehdi_amini, majnemer, chandlerc, davide

Reviewed By: davide

Subscribers: davide, llvm-commits

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

Details

Committed
bryantMar 23 2017, 4:21 PM
Reviewer
davide
Differential Revision
D31304: [MetaRenamer] Don't rename library functions.
Parents
rL298658: Add strtok interceptor for ASAN for Windows.
Branches
Unknown
Tags
Unknown