Displaying 3 results from an estimated 3 matches for "getlinkageforfunct".
2009 Dec 04
2
[LLVMdev] r72619
...in tools/clang/lib/
AST/Decl.cpp. That covers the C case and GNU inline semantics in C++.
For C++, it's easier to distinguish: inline functions have external
definitions unless they have an explicit template instantiation
declaration (C++0x parlance for "extern template"); see
GetLinkageForFunction in tools/clang/lib/CodeGen/CodeGenModule.cpp.
llvm-gcc will have to duplicate that logic to use available_externally
properly.
- Doug
2009 Dec 04
0
[LLVMdev] r72619
>>
> Only "_Z11dummysymbolv" should be there. Here's Doug's explanation of
> why this should be so:
>
> Here's what it *looks* like is happening, and where the FE is probably
> getting it wrong. First of all, the constructor in question is defined
> outside of the basic_string class template as a non-inline definition:
>
>
2009 Dec 04
4
[LLVMdev] r72619
On Dec 4, 2009, at 12:40 PM, Duncan Sands wrote:
> Hi Bill,
>
>> Here's what I get with TOT compiling with -Os. The orig.ll is what
>> I get before r72619. Notice that orig.ll has only one function in
>> it. Both the one you sent and duncan.ll have more than one
>> function. It's not the fact that more than one function is showing
>> up, but