Displaying 5 results from an estimated 5 matches for "commonsymbol".
2019 Jun 11
3
Expected behavior of lld during LTO for global symbols (Attr Internal/Common)
...ead` is actually a common
symbol.
I'm not sure why LTO cannot internalize common symbols though. Teresa, is
this expected?
On Mon, Jun 10, 2019 at 11:06 PM Teresa Johnson <tejohnson at google.com>
wrote:
> My guess is that it is due to lld change r360841 on that date (Introduce
> CommonSymbol). +Rui for comments.
>
> On Mon, Jun 10, 2019 at 4:45 AM Mani, Suresh via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>>
>>
>>
>>
>> Hi ,
>>
>>
>>
>> I have an issue during LTO phase of llvm compiler which is as follows,...
2019 Jun 10
2
Expected behavior of lld during LTO for global symbols (Attr Internal/Common)
Hi ,
I have an issue during LTO phase of llvm compiler which is as follows,
File t3.c
---------
#include <stdio.h>
#include <stdlib.h>
// A linked list node
struct Node {
int data;
struct Node* next;
struct Node* prev;
};
struct Node* head;
/* Given a reference (pointer to pointer) to the head of a list
and an int, inserts a new node on the front of the list. */
2019 Jun 20
2
Expected behavior of lld during LTO for global symbols (Attr Internal/Common)
...ymbol.
I'm not sure why LTO cannot internalize common symbols though. Teresa, is this expected?
On Mon, Jun 10, 2019 at 11:06 PM Teresa Johnson <tejohnson at google.com<mailto:tejohnson at google.com>> wrote:
My guess is that it is due to lld change r360841 on that date (Introduce CommonSymbol). +Rui for comments.
On Mon, Jun 10, 2019 at 4:45 AM Mani, Suresh via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote:
Hi ,
I have an issue during LTO phase of llvm compiler which is as follows,
File t3.c
---------
#include <stdio.h>
#include...
2019 Jun 21
2
Expected behavior of lld during LTO for global symbols (Attr Internal/Common)
...ymbol.
I'm not sure why LTO cannot internalize common symbols though. Teresa, is this expected?
On Mon, Jun 10, 2019 at 11:06 PM Teresa Johnson <tejohnson at google.com<mailto:tejohnson at google.com>> wrote:
My guess is that it is due to lld change r360841 on that date (Introduce CommonSymbol). +Rui for comments.
On Mon, Jun 10, 2019 at 4:45 AM Mani, Suresh via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote:
Hi ,
I have an issue during LTO phase of llvm compiler which is as follows,
File t3.c
---------
#include <stdio.h>
#include...
2019 Jun 24
4
Expected behavior of lld during LTO for global symbols (Attr Internal/Common)
...LFT> void
LinkerDriver::link(opt::InputArgList &Args) {
if (!Config->Relocatable)
Symtab->scanVersionScript();
+ // Replace common symbols with regular symbols, so that common
+ // symbols in input object files appear as regular symbols in .bss
+ // in the output.
+ replaceCommonSymbols();
+
// Do link-time optimization if given files are LLVM bitcode files.
// This compiles bitcode files into real object files.
//
@@ -1798,6 +1803,11 @@ template <class ELFT> void
LinkerDriver::link(opt::InputArgList &Args) {
if (errorCount())
return;
+ // LTO may hav...