Rollup merge of #99759 - bjorn3:remove_llvm_dead_code, r=nikic
Remove dead code from cg_llvm Found while working on https://github.com/rust-lang/rust/pull/97485
This commit is contained in:
commit
7f608e99dc
5 changed files with 0 additions and 100 deletions
|
@ -166,12 +166,6 @@ pub fn SetUniqueComdat(llmod: &Module, val: &Value) {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn UnsetComdat(val: &Value) {
|
||||
unsafe {
|
||||
LLVMRustUnsetComdat(val);
|
||||
}
|
||||
}
|
||||
|
||||
pub fn SetUnnamedAddress(global: &Value, unnamed: UnnamedAddr) {
|
||||
unsafe {
|
||||
LLVMSetUnnamedAddress(global, unnamed);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue