rustc_codegen_llvm::llvm

Function set_comdat

Source
pub fn set_comdat(llmod: &Module, llglobal: &Value, name: &CStr)
Expand description

Get the named comdat from llmod and assign it to llglobal.

Inserts the comdat into llmod if it does not exist. It is an error to call this if the target does not support comdat.