Displaying 20 results from an estimated 3000 matches similar to: "Global variables - collision?"
2012 Aug 18
1
[LLVMdev] GlobalVariable initializer using from beyond the grave
For LLDB I'm writing a dumb module pass that removes all global variables, by running the following code:
bool erased = true;
while (erased)
{
erased = false;
for (Module::global_iterator gi = llvm_module.global_begin(), ge = llvm_module.global_end();
gi != ge;
++gi)
{
GlobalVariable *global_var =
2014 Feb 01
2
[LLVMdev] Eliminate SSA Virtual registers
Hi Ben,
That did help. I continue to notice the virtual register in the program. I use LLVM 3.4. The program i am looking at is a very simple one. Listed below
int global_var;
int *global_ptr;
int32_t main(int32_t argc, char ** argv){
int p = 10;
int k = 20;
int *pp;
char *c_pp;
pp = &k;
global_ptr = pp;
pp = &p;
global_ptr = &global_var;
return 0;
}
BR/Nizam
2005 Aug 26
3
[LLVMdev] Mapping of class derivated and interfaces
> In any case when you
> want to obtain a base pointer to a "derived" object (where derivation
> is implemented as you showed - with nesting) it's simply a matter of
> using getelementptr to obtain a pointer to the nested base object and
> using that.
Umm ok, but i've the strange feeling that i'm missing something..
First a simple question: getelementptr with
2014 Oct 13
9
[LLVMdev] [RFC] Less memory and greater maintainability for debug info IR
In r219010, I merged integer and string fields into a single header
field. By reducing the number of metadata operands used in debug info,
this saved 2.2GB on an `llvm-lto` bootstrap. I've done some profiling
of DW_TAGs to see what parts of PR17891 and PR17892 to tackle next, and
I've concluded that they will be insufficient.
Instead, I'd like to implement a more aggressive plan,
2013 May 06
1
[LLVMdev] C Support Libraries
Hi, I'm writing a Scheme compiler in C++ with the LLVM library. The dynamic
type system is hard to tackle with direct LLVM from the C++ lib, so I'd
like to throw the work off into a C support library I could link the
compiled Scheme with. How can I generate code that depends on/calls
external symbols?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2014 Feb 01
3
[LLVMdev] Eliminate SSA Virtual registers
Hi,
is there a opt pass that replaces the SSA virtual registers to stack-variables? I want to eliminate the SSA virtual register from my IR. Kindly suggest
BR/Nizam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140201/bdc3909a/attachment.html>
2010 Oct 13
2
[LLVMdev] Possibility of Corruption of debug metadata
Hi Devang,
On Wed, Oct 13, 2010 at 12:44 PM, Devang Patel <dpatel at apple.com> wrote:
> In your example, you do not need to update debug info for @global_var at the moment. We are not identifying tls in debug info yet.
Does that mean I will not be able to debug applications which use tls
through gdb if they are build with gcc-lllvm or clang.
> On Oct 13, 2010, at 8:30 AM, shankha
2014 Oct 16
2
[LLVMdev] [RFC] Less memory and greater maintainability for debug info IR
On Wed, Oct 15, 2014 at 8:53 PM, Alex Rosenberg <alexr at leftfield.org> wrote:
> As all of these transforms are 1-to-1, can we still support the older metadata and convert it on the fly?
>
I'd prefer not to keep all of that code around to interpret both
versions without a very good reason.
-eric
> Alex
>
>> On Oct 13, 2014, at 3:02 PM, Duncan P. N. Exon Smith
2010 Oct 13
2
[LLVMdev] Possibility of Corruption of debug metadata
Hi Devang,
I convert all global variables in a file to thread local at the IR level.
i.e. compile example_llvm.c to IR example_llvm.ll and change global
variables to thread-local variables. I also insert a function call just before
access of the global(now thread-local) variable. I also insert a local variable
in main. Does these operations in any way effect the debug metadata ?
I do not face
2010 Oct 13
0
[LLVMdev] Possibility of Corruption of debug metadata
In your example, you do not need to update debug info for @global_var at the moment. We are not identifying tls in debug info yet.
On Oct 13, 2010, at 8:30 AM, shankha wrote:
> I do not face any issues debugging my test case. But while debugging
> my application
> through gdb I cannot make sense of the call stack. I do not see the
> function names in
> the call stack (with or
2014 Oct 15
3
[LLVMdev] [RFC] Less memory and greater maintainability for debug info IR
On Mon, Oct 13, 2014 at 7:01 PM, Eric Christopher <echristo at gmail.com>
wrote:
> On Mon, Oct 13, 2014 at 6:59 PM, Sean Silva <chisophugis at gmail.com> wrote:
> > For those interested, I've attached some pie charts based on Duncan's
> data
> > in one of the other posts; successive slides break down the usage
> > increasingly finely. To my
2010 Oct 13
0
[LLVMdev] Possibility of Corruption of debug metadata
On Oct 13, 2010, at 10:09 AM, shankha wrote:
> Hi Devang,
>
> On Wed, Oct 13, 2010 at 12:44 PM, Devang Patel <dpatel at apple.com> wrote:
>> In your example, you do not need to update debug info for @global_var at the moment. We are not identifying tls in debug info yet.
>
> Does that mean I will not be able to debug applications which use tls
> through gdb if they
2005 Aug 26
0
[LLVMdev] Mapping of class derivated and interfaces
> Hi! i'm tring to figure out how classes and dependencies
> can be mapped to llvm.
> [snip]
> how do i encode a function that takes "base" type
> so that it also takes "derived" ?
You'll notice that your function doesn't take an object of type base,
but a pointer to it. This is important - in a language such as LLVM
where actual structures can be
2014 Oct 14
2
[LLVMdev] [RFC] Less memory and greater maintainability for debug info IR
For those interested, I've attached some pie charts based on Duncan's data
in one of the other posts; successive slides break down the usage
increasingly finely. To my understanding, they represent the number of
Value's (and subclasses) allocated.
On Mon, Oct 13, 2014 at 3:02 PM, Duncan P. N. Exon Smith <
dexonsmith at apple.com> wrote:
> In r219010, I merged integer and
2005 Aug 25
5
[LLVMdev] Mapping of class derivated and interfaces
Hi! i'm tring to figure out how classes and dependencies can be mapped to llvm.
I've read on docs that nesting can be used:
class base { int Y; };
class derived : base { short Z; };
becomes:
%base = type { int }
%derived = type { %base, short }
That's ok, but now the question is: how do i encode a function that
takes "base" type so that it also takes "derived"
2006 Jul 14
0
Network collision packets in Dom0 xen2.0.7
Hi all,
Im getting collision packets on network interface. Below is the
screenshot of the ifconfig:
eth0 Link encap:Ethernet HWaddr 00:14:C2:5C:94:5B
inet addr:x.x.x.x Bcast:x.x.x.x Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:50693 errors:0 dropped:0 overruns:0 frame:0
TX packets:10428 errors:0 dropped:0
2003 Feb 04
0
[Bug 484] New: name space collision - log function
http://bugzilla.mindrot.org/show_bug.cgi?id=484
Summary: name space collision - log function
Product: Portable OpenSSH
Version: 3.5p1
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: sshd
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: rusr at
2019 Jan 18
0
[klibc:master] x86_64: Use -Ttext-segment to avoid address collision
Commit-ID: 2a705525e0816f9d708d7c41688f6bcb127374fe
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=2a705525e0816f9d708d7c41688f6bcb127374fe
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sat, 5 Jan 2019 20:59:33 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 18 Jan 2019 03:10:14 +0000
[klibc] x86_64: Use -Ttext-segment
2019 Jan 18
0
[klibc:master] i386: Use -Ttext-segment to avoid address collision
Commit-ID: 34163a2c7d1c3b841a35b242dbdbda25c4fb1ecb
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=34163a2c7d1c3b841a35b242dbdbda25c4fb1ecb
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sun, 6 Jan 2019 03:19:51 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 18 Jan 2019 03:10:14 +0000
[klibc] i386: Use -Ttext-segment to
2004 Oct 21
1
3.0.7 name collision!
Still gathering data on this one, but it's easy to reproduce the case
insensitive collision.
AIX 5.2 Samba 3.0.7.
in unix create two dirs on a user's [homes] share:
CISS-102
ciss-102
put files from windows (I used XP sp1) into just one of them, then go and
view the other. they have the same contents. on fresh smbd, if you start
with the empty dir then both appear empty.
When the