Use allocator_shim_contents in allocator_shim_symbols
#[patchable_function_entry]
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.