diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-12-05 05:19:12 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-12-05 05:19:12 +0000 |
commit | 9155b1781508a5f0d3b0c5103dfe966222fe3dc3 (patch) | |
tree | 9c9f534be98e5e6e0162ce9edb36a7c5cb830511 /lib/IR/Instructions.cpp | |
parent | 87234703e884cde21164aa93758ff1fb9cd95245 (diff) | |
download | llvm-9155b1781508a5f0d3b0c5103dfe966222fe3dc3.tar.gz llvm-9155b1781508a5f0d3b0c5103dfe966222fe3dc3.tar.bz2 llvm-9155b1781508a5f0d3b0c5103dfe966222fe3dc3.tar.xz |
Hide the stub created for MO_ExternalSymbol too.
given
declare void @llvm.memset.p0i8.i32(i8* nocapture, i8, i32, i32, i1)
declare void @foo()
define void @bar() {
call void @foo()
call void @llvm.memset.p0i8.i32(i8* null, i8 0, i32 188, i32 1, i1 false)
ret void
}
We used to produce
L_foo$stub:
.indirect_symbol _foo
.ascii "\364\364\364\364\364"
_memset$stub:
.indirect_symbol _memset
.ascii "\364\364\364\364\364"
We not produce a private stub for memset too.
Stubs are not needed with recent linkers, but we still produce them for darwin8.
Thanks to David Fang for confirming that gcc used to do this too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/Instructions.cpp')
0 files changed, 0 insertions, 0 deletions