search for: soumitra

Displaying 3 results from an estimated 3 matches for "soumitra".

Did you mean: soumitri
2015 Jul 02
2
[LLVMdev] Request for help: why does the program link correctly?
....c def.c ; echo $? 0 I guess the answer depends on why is 'main.c::foo' not marked as func? $ clang -c main.c def.c $ readelf -s main.o def.o | grep foo 9: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND foo 7: 0000000000000000 4 OBJECT GLOBAL DEFAULT 2 foo Thanks, Soumitra
2015 Jul 03
2
[LLVMdev] Request for help: why does the program link correctly?
Someone in my team pointed to an open bug about this in gcc: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35514 Would this be applicable to Clang as well? Thanks, Soumitra On 03-Jul-2015 10:53 AM, Tim Northover wrote: > On 2 July 2015 at 21:51, Nema, Ashutosh <Ashutosh.Nema at amd.com> wrote: >> Jim, I didn’t understood why foo is not marked with type 'FUNC'. > > Just convention, as far as I can tell (certainly GNU as does the same >...
2015 Jul 03
2
[LLVMdev] Request for help: why does the program link correctly?
...d be marked as 'FUNC' STT_FUNC: The symbol is associated with a function or other executable code. Regards, Ashutosh -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Jim Grosbach Sent: Friday, July 03, 2015 3:31 AM To: Soumitra Chatterjee Cc: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] Request for help: why does the program link correctly? Linking typically doesn’t pay attention to types, just to symbol names. The symbol is indeed defined, so it links OK. This is one of the problems name mangling helps solve in C++. -...