On May 14, 2013, at 4:26 PM, Aaron Ballman wrote:
> 
>> Do __sptr and __uptr get different manglings?
> 
> They do:
> 
> void func( int * __ptr32 p ) {}
> void func2( int * __ptr64 p ) {}
> 
> PUBLIC ?func@@YAXPAH@Z ; func
> PUBLIC ?func2@@YAXPEAH@Z ; func2
> 
> Namely, the presence of E (rnk pointed this out previously).
He was asking about __sptr and __uptr :). They don't by the way:

> cl /c test.cpp
[extraneous banner output omitted]
> dumpbin /symbols test.obj
[...]
00F 00000010 SECT4  notype ()    External     | ?func@@YAXPAH@Z (void __cdecl 
func(int *))
010 00000020 SECT4  notype ()    External     | ?func2@@YAXPAH@Z (void __cdecl 
func2(int *))

Chip
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to