HomePhabricator

Preserve the linkage for objc* intrinsics as clang will set them to…

Authored by pete on Dec 18 2018, 2:42 PM.

Description

Preserve the linkage for objc* intrinsics as clang will set them to weak_external in some cases

Clang uses weak linkage for objc runtime functions when they are not available on the platform.

The intrinsic has this linkage so we just need to pass that on to the runtime call.

llvm-svn: 349559

Details

Committed
peteDec 18 2018, 2:42 PM
Parents
rGd0ffdf87820a: Add nonlazybind to objc_retain/objc_release when converting from intrinsics.
Branches
Unknown
Tags
Unknown