Displaying 20 results from an estimated 6000 matches similar to: "How to actively reclaim stack memory"
2016 Dec 15
0
How to actively reclaim stack memory
On 15 Dec 2016, at 07:26, haifeng.qin at wellintech.com via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> For help:
>
> for loop lead to stack overflow, want to actively reclaim stack memory of alloc instruction.
>
> How to actively reclaim stack memory ?
This sounds as if you’re putting the alloca inside the loop, not in the entry basic block and reusing it. If you
2017 Feb 27
2
How to catch EXCEPTION_ACCESS_VIOLATION exceptions on win64
LLVM3.8 version.
https://bugs.llvm.org//show_bug.cgi?id=24233. The example can catch exception. But I use my own code for testing, CustomEHMemoryManager allocated memory address is very large, allocateCodeSection, allocateDataSection assigned address (more than 32 bit address space) is getting smaller and smaller. Cause registerEHFrames to fail.
3.9.1 or 4.0.0 version has been supported on win
2017 Feb 16
2
How to catch EXCEPTION_ACCESS_VIOLATION exceptions on win64
For help:
Llvm generated instruction calls a function (extern), the function will have a SEH exception (EXCEPTION_ACCESS_VIOLATION), But JIT can not capture the exception of the EXCEPTION_ACCESS_VIOLATION. I saw Bug 24233. EXCEPTION_ACCESS_VIOLATION exception cannot be captured after modification.
How to catch EXCEPTION_ACCESS_VIOLATION exceptions on win64 ?
haifeng.qin at wellintech.com
2007 Aug 23
2
[LLVMdev] Data Structure Analysis
A following question about how to install "poolalloc". I checked out
poolalloc from svn. But I had a problem of installing it. When I tried to run
"configure" with options "--with-llvmsrc" and "--with--llvmobj" pointing to
where the source of my llvm and objs dir are (/home/usr/Tools/llvm,
e.g.), "configure" complained error message
2007 Aug 31
2
[LLVMdev] Compile Linux Kernel with LLVM gcc frontend
I can say that it does not for me,running x86_64, I have been generating errors for submission by testing on a number of gnu utilities starting with binutils.
Patrick
On Aug 31, 2007, at 6:11 PM, "Haifeng He" <hehaifeng2nd at gmail.com> wrote:
Hi,
I am curious about if the current LLVM implementation can handle Linux
kernel (or any particular version of Linux kernel). The
2007 Sep 07
0
[LLVMdev] Compile Linux Kernel with LLVM gcc frontend
On Fri, 31 Aug 2007, Patrick Flannery wrote:
> I can say that it does not for me,running x86_64, I have been generating
> errors for submission by testing on a number of gnu utilities starting
> with binutils.
If you run into problems, please file bugs.
-Chris
> On Aug 31, 2007, at 6:11 PM, "Haifeng He" <hehaifeng2nd at gmail.com> wrote:
>
> Hi,
>
> I
2008 Apr 26
4
how to use printk() in xen?
hi, all:
i want to add a function in xen. in the function i need to call the "printk" to display the values of some variables.
i found the definition of printk() in file "xen-3.1.0-src\xen\include\xen\lib.h ":
extern void printk(const char *format, ...)
__attribute__ ((format (printf, 1, 2)));
who can tell me the location of printk()?
thanks in advance.
2008-04-26
2015 Jun 04
1
virtio-net: why not always to set avail->flags to VRING_AVAIL_F_NO_INTERRUPT
On 2015/6/4 9:13, Rusty Russell wrote:
> Linhaifeng <haifeng.lin at huawei.com> writes:
>> Hi,
>>
>> I'm a newbie and have a question about vring_new_virtqueue function.
>>
>> Why we set avail->flags to VRING_AVAIL_F_NO_INTERRUPT when no callbacks?
>> I think we should set avail->flags to VRING_AVAIL_F_NO_INTERRUPT even if no callbacks.
>
2015 Jun 04
1
virtio-net: why not always to set avail->flags to VRING_AVAIL_F_NO_INTERRUPT
On 2015/6/4 9:13, Rusty Russell wrote:
> Linhaifeng <haifeng.lin at huawei.com> writes:
>> Hi,
>>
>> I'm a newbie and have a question about vring_new_virtqueue function.
>>
>> Why we set avail->flags to VRING_AVAIL_F_NO_INTERRUPT when no callbacks?
>> I think we should set avail->flags to VRING_AVAIL_F_NO_INTERRUPT even if no callbacks.
>
2007 Aug 23
3
[LLVMdev] Data Structure Analysis
Hi, all
I just downloaded the latest version of llvm. I am interested in the
data structure analysis of llvm described in this year PLDI paper,
titled "Making Context-Sensitive Points-to Analysis with Heap Cloning
Practical For The Real World". However, I could not find any source
code that seem to do the analysis. I noticed that in llvm 1.9 release,
there is a subdirectory named
2007 Aug 23
0
[LLVMdev] Data Structure Analysis
okay. I guess I figured it out. It seems "poolalloc" needs to be put
in llvm/projects/ directory.
Haifeng
On 8/23/07, Haifeng He <hehaifeng2nd at gmail.com> wrote:
> A following question about how to install "poolalloc". I checked out
> poolalloc from svn. But I had a problem of installing it. When I tried to run
> "configure" with options
2007 Mar 01
1
compiling echo cancellation
dear all
I got this error when I try to use libspeex in visual studio. when I
include speex/speex_echo.h, it complains about unresolved external symbol
_speex_echo_state_init. And when I include mdf.c into the source, it
generates whole bunch of errors. Any idea? thanks so much
--------------------Configuration: audio - Win32 Debug--------------------
Compiling...
mdf.c
C:\Documents and
2007 Aug 23
0
[LLVMdev] Data Structure Analysis
On Aug 22, 2007, at 8:12 PM, Haifeng He wrote:
> Hi, all
>
> I just downloaded the latest version of llvm. I am interested in the
> data structure analysis of llvm described in this year PLDI paper,
> titled "Making Context-Sensitive Points-to Analysis with Heap Cloning
> Practical For The Real World". However, I could not find any source
> code that seem to do the
2007 Sep 14
3
[LLVMdev] Problem of running data structure analysis (DSA) on Linux kernel
Hi,
I ran into a problem when running DSA on Linux kernel (the Kernel
version I used is
2.4.31). The analysis was aborted when it tried to do
DSNode::mergeTypeInfo on some data structure in the kernel. I have
filed a bug report at http://llvm.org/bugs/show_bug.cgi?id=1656.
My question is what version of Linux kernel LLVM has been tested on
successfully? To run DSA analysis, should I use the
2008 Jan 30
3
[LLVMdev] How to use profiling runtime for program profiling?
Hi, all
I have a question about how to profile program with LLVM. When I tried
to compile the
instrumented version of program after using "-insert-block-profiling", I got
error complaining
" undefined reference to `llvm_start_block_profiling'.
I found that there is a "runtime"directory in llvm source directory
but in the Makefile, it said
llvm gcc 4 and above
2018 Feb 15
2
Duplicate column names created by base::merge() when by.x has the same name as a column in y
Hi,
I was unable to find a bug report for this with a cursory search, but would
like clarification if this is intended or unavoidable behaviour:
```{r}
# Create example data.frames
parents <- data.frame(name=c("Sarah", "Max", "Qin", "Lex"),
sex=c("F", "M", "F", "M"),
2008 Jan 30
0
[LLVMdev] How to use profiling runtime for program profiling?
Hi Haifeng
> I have a question about how to profile program with LLVM. When I tried
> to compile the instrumented version of program after using "-insert-
> block-profiling", I got
> error complaining " undefined reference to
> `llvm_start_block_profiling'.
>
> I found that there is a "runtime"directory in llvm source directory
> but in the
2007 Aug 24
0
[LLVMdev] Data Structure Analysis
Haifeng He wrote:
> I updated the latest "poolalloc" code and the problem seems to have been fixed.
> However, I am still having problem of running "poolalloc".
>
> After compilation finished, there are several dynamic libraries
> created (libpoolalloc_rt.so, libpoolalloc_fl_rt.so and
> LLVMDataStructure.so). I was not sure which one I should use so I just
2015 Apr 01
2
[LLVMdev] why we assume malloc() always returns a non-null pointer in instruction combing?
Hi Mats,
I think Kevin's point is malloc can return 0, if malloc/free pair is
optimized way, the semantic of the original would be changed.
On the other hand, malloc/free are special functions, but programmers can
still define their own versions by not linking std library, so we must
assume malloc/free always have side-effect like other common functions,
unless we know we will link std
2007 Aug 26
1
[LLVMdev] Data Structure Analysis
DSA should be current against head, but poolalloc isn't. I've changed
DSA a bit so it may not compile with poolalloc as is. I haven't had
time to tackle updating poolalloc (either to head or to the dsa
changes). If you want the version from the paper, try checking out
llvm 1.8 or 1.9 and a dsa from around then. The dsa as used on the
linux kernel and in the OS work is in a branch