similar to: [LLVMdev] LLVM C bindings and Boehm GC

Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] LLVM C bindings and Boehm GC"

2010 Jan 31
2
[LLVMdev] Boehm GC + static variables?
Hi, I'm running LLVM bitcode generated by my compiler under lli. The bitcode is linked against Boehm GC (lli -load=/usr/lib/libgc.so). It looks like Boehm GC isn't scanning global variables and as a result objects referenced only through globals are being prematurely collected. I understand that Boehm GC needs to see the data segment containing my global variables as a root. For native
2010 Jan 31
0
[LLVMdev] Boehm GC + static variables?
I've implemented this by adding calls to GC_add_roots(<first global in module>,<last global in module>+1) to the llvm.global_ctors before any other static initialization code for the module. This should be safe assuming that: - global variables are laid out in memory in the order they appear in their module (and ideally contiguously without being interleaved with any other values)
2010 Jan 31
1
[LLVMdev] Boehm GC + static variables?
You should look at http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/JITMemoryManager.h?view=markup and see if inheriting from that and overriding allocateGlobal() will do what you want. I'm a little surprised the boehm gc doesn't already see the globals, since there's a reference to their memory from the JMM, but maybe it doesn't scan mmap regions by
2016 Jun 07
2
lld/x86_64 linux elf invalid link_map
I'm having a curious issue with LLD/x86_64 linux/elf (Ubuntu 14.04); Where the l_addr of the link_map is invalid when linked with lld, but is fine with gnu ld. I'm using the libgc (boehm) code which when initializing reads the DYNAMIC/DEBUG link_map data, and crashes because the l_addr field has value out of readable memory. The strange this is that it happens only on some linux
2007 Dec 27
1
[LLVMdev] Boehm GC with JIT compiled code
I'm hoping to have a stab at getting a tiny language implementation up and running soon. I assume I can just pull in Boehm's GC to get a very rudimentary collector up and running. However, can this work using JIT compilation from OCaml or will the new GC try to traverse the OCaml program's own stack? -- Dr Jon D Harrop, Flying Frog Consultancy Ltd.
2009 Mar 10
1
[LLVMdev] LLVM JIT + Boehm's GC, Need I Worry?
The virtual machine I'm implementing allocates objects on the heap using Boehm's garbage collector. I currently have an interpreter working for my language, and I'm working on a JIT that will compile some of the functions that would otherwise get interpreted. What I'm wondering is whether or not I need to perform special adjustments for the GC to work properly. My understanding is
2010 Sep 17
6
[LLVMdev] Accurate garbage collection
On 17/09/10 09:55, Pedro Ferreira wrote: > As I understand it, LLVM simply gives you support for garbage collectors > that you have to implement yourself and link into the final binary, > similar to what C's malloc does (it's a library call). The issue with > GC's is that they need to be provided info about the stack, thats where > LLVM's support comes in. Are there
2010 Aug 05
2
[LLVMdev] VMKit Boehm MMTk Compilation
Hello, I've been able to get J3 working with the single and multimap garbage collectors but have hit several snags with Boehm and MMTk. For MMTk I get here: Buildfile: /cs/student/kyleklein/vmkit/mmtk/java/build.xml main: [mkdir] Created dir: /cs/student/kyleklein/vmkit/mmtk/java/classes [javac] Compiling 373 source files to /cs/student/kyleklein/vmkit/mmtk/java/classes
2008 Jun 09
6
FW: Memory Leak Problem in My Application running on Solaris 10.
Hi, This is regarding Dtrace usability for memory leak detection. We have real-time application written C++ which runs on Solaris 10 having a problem that''s the my application grows in size from 130 Mb to 450Mb in around 15 days. So there is two possibilities with the application growth of memory due to Size growth of Dictionary Objects (Like Maps) and Memory Leak.
2012 Feb 14
1
Boehm
As the Boehm GC is an available option, do I take that to mean it's beneficial for some users but not most? -- Daniel
2005 Nov 21
1
[LLVMdev] setjmp/longjmp interoperable between llvm and gcc?
Hi, I would like to build an x86 executable consisting of a number of subsystems (mostly legacy C code). One subsystem will be compiled to native code using llvm. It calls, and is called by, the other subsystems, many of which have to be compiled using gcc because they use small amounts of inline assembly. All of the subsystems catch and throw errors to one another using setjmp/longjmp. When
2010 Sep 17
0
[LLVMdev] Accurate garbage collection
On Fri, 2010-09-17 at 12:16 +0100, David Given wrote: > On 17/09/10 09:55, Pedro Ferreira wrote: > > As I understand it, LLVM simply gives you support for garbage collectors > > that you have to implement yourself and link into the final binary, > > similar to what C's malloc does (it's a library call). The issue with > > GC's is that they need to be provided
2012 Jan 03
2
[LLVMdev] Using llvm command line functions from within a plugin?
After a several-month hiatus, I've returned to working on my main LLVM project. However, after checking out the latest LLVM head I'm encountering a new problem. When I attempt to load my custom plugin pass into opt, I'm getting this error message: dyld: lazy symbol binding failed: Symbol not found: __ZN4llvm2cl3optIbLb0ENS0_6parserIbEEE4doneEv Referenced from:
2005 Dec 05
2
Re: [users] CentOS 4.2 dag repo problem.
Hello, It would be nice if we could get a full list of packages which have a wrong sha1 checksum. I don't have the bandwidth for a full mirror of all of Dag's rpms and i also don't have shell access to such a mirror. So a small request for a mirror admin: The following checks the files repodata/*.xml.gz against the sha1 sums in repomd.xml and checks the RPMS/*.rpm files against
2017 Feb 21
3
[lld] elf linker creates undefined empty symbol
Hi, When running my own lld generated library/executable I'm getting: LD_LIBRARY_PATH=. ./ConsoleApplication347 ./ConsoleApplication347: symbol lookup error: ./ConsoleApplication347: undefined symbol: (theres nothing after undefined symbol) How can I figure out what's I'm doing wrong? Full log: https://gist.github.com/carlokok/1dd510a16e1922271b520f1c00b14656 readelf -s for
2012 Jan 03
0
[LLVMdev] Using llvm command line functions from within a plugin?
Hi Talin, > After a several-month hiatus, I've returned to working on my main LLVM project. > However, after checking out the latest LLVM head I'm encountering a new problem. > When I attempt to load my custom plugin pass into opt, I'm getting this error > message: > > dyld: lazy symbol binding failed: Symbol not found: >
2010 Aug 19
0
[LLVMdev] VMKit Boehm MMTk Compilation
For anyone who encounters this issue in the future, my issue was the configuration of llvm-gcc. Configure with --with-llvmgccdir=YOUR/PATH doesn't work, instead you are supposed to use --with-llvmgcc=PATH/TO/llvm-gcc and --with-llvmgxx=/PATH/TO/llvm-g++ That will at least get you past my error. Best, Kyle Quoting nicolas geoffray <nicolas.geoffray at gmail.com>: > I am
2016 Oct 11
0
PKG_LIBS in make child processes
[cross-posted from bioc-devel list] Hi all, I have a subtle question related to how R CMD SHLIB handles variables in make child processes. In more detail: I am the maintainer of the 'msa' package which has been in Bioconductor since April 2015. This package integrates three open-source libraries for multiple sequence alignment. This is organized in the following way: in src/, there
2003 Sep 18
2
Adpcm quality
Please, try exten => 99,1,Wait,1 exten => 99,2,Record,/tmp/pcmfile:pcm exten => 99,3,Wait,1 exten => 99,4,Playback,/tmp/pcmfile exten => 99,5,Wait,1 exten => 99,6,Record,/tmp/voxfile:vox exten => 99,7,Wait,1 exten => 99,8,Playback,/tmp/voxfile (put your own extension). Pcm recording is OK, playback is OK. Adpcm recording is noticeably worse. Adpcm playback is very
2008 Jan 07
2
[LLVMdev] GC infrastructure checked in
On 2008-01-07, at 05:29, Jon Harrop wrote: > On Monday 07 January 2008 02:32:47 Gordon Henriksen wrote: > >> Everything described in GarbageCollection.html should now be live. >> Phew! >> > > This is wonderful news! Are there any example programs using these > GCs? The division of labor is such that the user program must provide the stack walker (in