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 | 01d19d0299495e1dbe95ac2bed79e5c0af66391c (patch) | |
tree | 54185626f7853b0214eebb6cd0342bef871f58d1 /llvm/lib/CodeGen/StackColoring.cpp | |
parent | 89cc49fe5d7c33d5e45d7fd1616bf88dfd69ae5f (diff) | |
download | bcm5719-llvm-01d19d0299495e1dbe95ac2bed79e5c0af66391c.tar.gz bcm5719-llvm-01d19d0299495e1dbe95ac2bed79e5c0af66391c.zip |
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.
llvm-svn: 196468
Diffstat (limited to 'llvm/lib/CodeGen/StackColoring.cpp')
0 files changed, 0 insertions, 0 deletions