search for: externally_visible

Displaying 4 results from an estimated 4 matches for "externally_visible".

2010 Apr 13
1
[LLVMdev] darwin dragon-egg build issues
...oftware out there is broken! > > Note that AFAIK > > void foo(void); > > and > > extern void foo(void); > > are equivalent. > > Ciao, > > Duncan. Duncan, Can't we drop the extern from the patch and use something like... void foo(void) __attribute__(externally_visible); as described in http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html? Jack
2010 Apr 13
0
[LLVMdev] darwin dragon-egg build issues
Hi Jack, > Doesn't i386_static.diff represent a violation of... > > https://www.securecoding.cert.org/confluence/display/seccode/DCL36-C.+Do+not+declare+an+identifier+with+conflicting+linkage+classifications > > since it first declares a function as extern and then > redefines it locally? I don't think so. "Redefines it locally" is not the same as giving
2010 Apr 13
2
[LLVMdev] darwin dragon-egg build issues
On Tue, Apr 13, 2010 at 09:01:16AM +0200, Duncan Sands wrote: > Hi Jack, > >> bash-3.2$ gcc-4 hello.c -S -O1 -o - -fplugin=./dragonegg.so >> cc1: error: Cannot load plugin ./dragonegg.so >> dlopen(./dragonegg.so, 10): Symbol not found: _classify_argument > > looks like you forgot to apply the i386_static.diff patch to gcc. > > Ciao, > > Duncan. Duncan,
2015 Jul 18
2
[LLVMdev] [Clang] [lld] [llvm-link] Whole program / dead-code optimization
Thanks Nick. I've been pursuing Gao's technique but can't seem to get opt to remove obviously dead code from even the following trivial example: int mult(int a, int b){ return a*b; } int main(void){ return 0; } While mult is never called it still is not removed. I just can't seem to get opt to understand it's seeing the whole program so it can remove this