Displaying 20 results from an estimated 200 matches similar to: "[LLVMdev] LLVM linkage flags"
2015 Jul 14
3
[LLVMdev] RFC: ThinLTO Symbol Linkage and Renaming
As mentioned in the Updated ThinLTO RFC (
http://lists.cs.uiuc.edu/pipermail/llvmdev/2015-May/086211.html), I am
sending the symbol linkage and renaming required by ThinLTO as a separate
RFC. It is included below. I've also attached the doc in pdf form, since
the formatting (especially for the table at the end) may not come through
in the copied text below well.
Thanks!
Teresa
ThinLTO
2015 Jul 21
1
[LLVMdev] RFC: ThinLTO Symbol Linkage and Renaming
Thanks for the comments! Responses below.
Teresa
On Tue, Jul 21, 2015 at 1:06 PM, Duncan P. N. Exon Smith <
dexonsmith at apple.com> wrote:
>
> > On 2015-Jul-14, at 13:33, Teresa Johnson <tejohnson at google.com> wrote:
> >
> > As mentioned in the Updated ThinLTO RFC (
> http://lists.cs.uiuc.edu/pipermail/llvmdev/2015-May/086211.html), I am
> sending the
2015 Nov 25
3
x86 long double size definition
In what file would I find the definition for the size of the x86_64 long
double type?
Thanks,
Max
--
Max Ruttenberg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151125/573ebb0d/attachment.html>
2015 Jul 21
2
[LLVMdev] RFC: ThinLTO Symbol Linkage and Renaming
>
> This scares me a little for linkonce -- there's a minor change to
> semantics if the importing module would have linked against a
> *different* definition of the same symbol -- but I'm not really
> sure it matters much.
>
>
This should not be an issue in practice as it exists non thinLTO
compilations too. For instance changing the optimization level of one
module
2019 Feb 22
2
Create the GlobalVariable which have extern in one header file
Hi
Good day. I am facing issue with creating a GlobalVariable. I already have an extern for that global in a header file to use it in the following way
extern const void* DATA_TABLE[];
And with a LLVM PASS, I am trying to create this array with the same name and with initializer. So, I have following:
GlobalVariable *gvar_data = new GlobalVariable(
M, blockItems->getType(), true,
2019 May 12
2
Why does verifyFunction dislike this?
I am programmatically building some functions in intermediate
representation, and trying to verify them, but the verifier always reports
that there is a problem, and I can't see why. Minimal test case:
#ifdef _MSC_VER
#pragma warning(disable : 4141)
#pragma warning(disable : 4530)
#pragma warning(disable : 4624)
#endif
#include <llvm/IR/IRBuilder.h>
#include <llvm/IR/Verifier.h>
2011 Mar 16
2
[LLVMdev] linkage type
What is the difference between WeakAnyLinkage and ExternalWeakLinkage
? They are defined in GlobalValue.h. Thanks
Junjie
2016 Nov 29
2
RFC: Add an "interposible" linkage type (and implement -fsemantic-interposition)
----- Original Message -----
> From: "Eric Christopher" <echristo at gmail.com>
> To: "Reid Kleckner" <rnk at google.com>, "Hal Finkel" <hfinkel at anl.gov>
> Cc: "llvm-dev" <llvm-dev at lists.llvm.org>
> Sent: Tuesday, November 29, 2016 11:34:56 AM
> Subject: Re: [llvm-dev] RFC: Add an "interposible" linkage
2011 Mar 16
0
[LLVMdev] linkage type
There is a description of all the possible linkage types at
http://llvm.org/docs/LangRef.html#linkage – does this answer your
question? (Basically, an extern_weak resp. ExternalWeakLinkage symbol
becomes null instead of being an undefined reference)
David
On 3/16/11 7:06 PM, Junjie Gu wrote:
> What is the difference between WeakAnyLinkage and ExternalWeakLinkage
> ? They are defined
2001 Nov 01
1
benchmarks?
Are there any benchmark resultss that meaningfully compare performance of ext2
vs ext3 vs rieserfs vs sgi xfs? What about effect on cpu usage?
2016 Mar 29
2
-Wswitch-bool?
All,
If I have source file like this:
/**********************************/
#include <stdbool.h>
#include <stdio.h>
int main(int argc, char* argv[])
{
switch(argc == 2)
{
case true:
puts("argc == 2");
break;
case false:
puts("argc != 2");
break;
}
return 0;
}
/**********************************/
When I compile this source file with
2016 Mar 29
0
-Wswitch-bool?
On 3/29/2016 11:44 AM, Max Ruttenberg via llvm-dev wrote:
>
> I've looked online and saw some post mentioning that this warning is named
> "switch-bool" but clang doesn't seem to know that.
You're probably using an old clang. There is an option
"-Wno-switch-bool" that turns this warning off, but if your clang does
not understand it, there may be no other
2018 May 16
0
Global is external, but doesn't have external or weak linkage!
Hi,
I have a pass that creates a GlobalVariable, when I ran it get the
following error:
Global is external, but doesn't have external or weak linkage!
i8** @myvar
This is how I create the GlobalVariable:
------------------------------------------------
new llvm::GlobalVariable(*M, IRB.getInt8PtrTy(), false,
llvm::GlobalValue::CommonLinkage,
nullptr, "myvar", NULL,
2001 Oct 09
1
ext3 patches vs Alan Cox patches?
The various ac patches have had ext3 for some time. What is the difference
between using Alan's patches vs the ext3 patches?
2001 Sep 29
2
permission denied while trying to create journal file
Something bad must have happened when I first ran e2fstune on my root file
system. Now I cannot mount it ext3 and when I try to run tune2fs -j on it, I
get this error message:
permission denied while trying to create journal file
There is a .journal file in /:
[root@monster log]# ls -l /.journal
-rw------- 1 root root 33554432 Sep 29 10:21 /.journal
But dumpe2fs
2019 Feb 22
1
Create the GlobalVariable which have extern in one header file
I have changed it to ExternalLinkage. Now, in LLVM IR, it looks like that:
@DATA_TABLE = external global [0 x i8*], section "data_section", align 16 #0
@DATA_TABLE.1 = global [10 x i8*] [i8* inttoptr (i64 53415718 to i8*), i8* bitcast (void (%class.Hello*)* @_ZN5Hello5ptofnEv to i8*),...], section "data_section", align 16 #0
In my uses:
%arrayidx = getelementptr inbounds [0 x
2001 Oct 19
1
What was wrong with this sequence?
I thought I understood things, but I guess not. I recently configured a new
system for a colleague as follows:
1. Redhat 7.1 install Dell Inspiron 8100 - three partitions on 30G - /,
/boot, swap
2. Boot up
3. configure, make, make install of linux-2.4.12-ac3 (with approriate lilo
changes) lilo (but no reboot until 8)
4. rpm -U mount-2.11g-5.i386.rpm (from rawhide)
2001 Oct 18
3
Assertion failed
Hello
I am on Athlon 1Gz, kernel 2.4.8. I was running a perl pgm with a
lot of disk access, deletions and symlinks creations... Maybe It is due
to the kernel version. Could you please inform me if must upgrade to a
more recent kernel ?
Thanks a lot
the kernel logs are :
in errors logs
Oct 18 17:31:16 tadorne kernel: Assertion failure in
journal_revoke_Rb5884a32() at revoke.c:307:
2017 Jun 08
2
[RFC][ThinLTO] llvm-dis ThinLTO summary dump format
Great! For the hotness, try creating a small test case with a very hot loop
that iterates many times. Let me know if you are still having trouble.
While the llvm-dis serialization is being discussed, I suppose at the very
least this can go in with the rest of the existing YAML summary dumping and
get emitted from llvm-lto2 using the patch Peter attached. Peter - do you
want to add that to
2010 Jul 13
2
[LLVMdev] AsmPrinter & ExternalWeakLinkage
I noticed that AsmPrinter::EmitLinkage doesn't handle
ExternalWeakLinkage. Is that an oversight or is something
deeper going on?
-Dave