similar to: [LLVMdev] measuring the stack size

Displaying 20 results from an estimated 5000 matches similar to: "[LLVMdev] measuring the stack size"

2008 Apr 17
4
[LLVMdev] measuring the stack size
On Thu, 2008-04-17 at 10:49 -0700, Chris Lattner wrote: > On Thu, 17 Apr 2008, guan mailist wrote: > > Does anyone have good ideas to dynamically measure the stack size of a > > program by using LLVM. > > I am trying to add some new intrinsic functions after each "alloca" in > > bitcode. Is it a good way to do it? > > Any existing tools can help me to do
2008 Apr 17
0
[LLVMdev] measuring the stack size
On Thu, 17 Apr 2008, guan mailist wrote: > Does anyone have good ideas to dynamically measure the stack size of a > program by using LLVM. > I am trying to add some new intrinsic functions after each "alloca" in > bitcode. Is it a good way to do it? > Any existing tools can help me to do so? Depending on how much precision you need, you could use the llvm.frameaddress
2008 Apr 17
0
[LLVMdev] measuring the stack size
On Apr 17, 2008, at 13:00, Jonathan S. Shapiro wrote: > On Thu, 2008-04-17 at 10:49 -0700, Chris Lattner wrote: > >> On Thu, 17 Apr 2008, guan mailist wrote: >> >>> Does anyone have good ideas to dynamically measure the stack size >>> of a >>> program by using LLVM. I am trying to add some new intrinsic >>> functions after each
2008 Apr 18
0
[LLVMdev] measuring the stack size
I mean to compute the upper bound dynamically at run time, not statically at compile time. Is it possible to do so by LLVM? If so, how? by using "llvm.frameaddress"? Is it precise? Thanks, GUan Jonathan S. Shapiro wrote: > On Fri, 2008-04-18 at 03:01 +0100, guan mailist wrote: > > >> Is it possible to compute the upper bound of stack size in bits? >>
2008 Apr 18
0
[LLVMdev] measuring the stack size
> Date: Thu, 17 Apr 2008 13:54:12 -0400 > From: "Jonathan S. Shapiro" <shap at eros-os.com> > > > > > The GC infrastructure exposes this information in a framework suitable > > for emitting metadata tables from a compiler plugin, if your interest > > lies in that direction. > > That too, but my immediate interest was computing an upper bound
2014 Nov 17
2
[LLVMdev] [PATCH] Protection against stack-based memory corruption errors using SafeStack
+nlewycky On Mon, Nov 17, 2014 at 9:36 AM, Volodymyr Kuznetsov <vova.kuznetsov at epfl.ch > wrote: > Hi Kostya, > > On Sat, Nov 15, 2014 at 1:53 PM, Volodymyr Kuznetsov < > vova.kuznetsov at epfl.ch> wrote: > > Do you think moving the pass to lib/Transform/Instrumentation but > > scheduling it during code generation would make sense ? If so, we'll >
2008 Apr 30
1
[LLVMdev] Is it possible to write a llvm pass in OCaml?
Dear All, Is it possible to write a llvm pass in OCaml? Is there any API such as runOnModule() in ModulePass, runOnFunction() in FunctionPass in OCaml? I have looked through the tutorial, http://llvm.org/docs/tutorial/OCamlLangImpl1.html, it looks like just a tutorial about "Implementing a language with LLVM" in Objective Caml. Thank you for your help. Best Regards, GUanhua
2015 Aug 07
2
Creating a virtual machine: stack, regs alloc & other problems
Alex: I'm not sure you're taking the right approach with this. You can either have portability or you can play games with the calling convention assumed by the back end, or you can modify the compiler to suit your desired calling convention, but you probably can't get all three. I'm the guy behind HDTrans (dynamic binrary translation for x86), and we used direct x86 instruction
2007 Oct 09
0
[LLVMdev] Stack layout in the x86 back-end
On Tue, 9 Oct 2007, Sarah Thompson wrote: > ideally, I'd like a block that encompasses everything from the function > parameters up to the current top-of-stack including spilled registers. > Is this feasible? Hi Sarah, I'm not sure how much of this is possible. You're guaranteed that each function stack frame is itself contiguous (including spilled regs), but there
2007 Oct 09
2
[LLVMdev] Stack layout in the x86 back-end
Hi all, I've been quiet for a while, but work on the new model checker has been going pretty well of late. I do have a question for the team, however. I've implemented code that manages multiple stacks, with an ability to version them and roll back and forward between versions so I can implement backtracking and nontrivial search strategies -- this all works. However, I'm
2011 Jun 16
1
Removal of mailist duplicates?
I am using mpop to fetch mail from my service provider (who use dovecot). I use dovecot to hold all my mail on a local slackware server, with sieve filters, based on 'List-Id', directing mailist postings to their own folders. I use thunderbird to read my mail on an ubuntu desktop. When I receive a reply to a posting I make to a mailist (such as this one), replies I receive are
2010 Apr 12
1
[LLVMdev] Question. about Machinefunction pass, funtion Prolog/Epilog code, stack frame
I am new to the LLVM, and need some help with this points. 1. how can we add special code for the Prolog/Epilog for some certain functions, this should be done with machinefunction pass, rt? 2. Basically, I want to get the function stack frame, that is the size and the initial position. I found int64_t llvm::MachineFrameInfo::getObjectSize ( int *ObjectIdx* ) const[inline] This method is
2005 Feb 05
4
Creating collections
I''m trying to create a form where a collection is created, using the example from the Rails 0.9.5 weblog posting: http://weblog.rubyonrails.com/archives/2005/01/26/rails-095-a-world-of- fixes-and-tweaks/ I''m having a bit of trouble. The controller currently looks like this: class StudentController < ApplicationController def new render_text @params.inspect
2013 May 22
19
Install vTPM on Xen-4.2.2
Hi, I‘m trying to install vTPM based on Xen-4.2.2, linux-kernel 3.9.1 (Dom0) and TPM emulator. However, I cannot find the TPM backed driver in this version of Dom0 linux kernel. There is no CONFIG_XEN_TPMDEV_BACKEND in the kernel config file. The config file for Dom0 is attached. Maybe it provides some useful information. So, how to install a Xen TPM backend driver in the Dom0 linux-kernel.
2012 Mar 21
4
Can not boot the OVMF
Hi Attilio I have updated to the upstream Xen and try to boot into OVMF bios. Instead of fetching the OVMF code from the git mirror, I just copy the OVMF bios to ovmf directory. I use the bios="ovmf" in the HVM config file. But, there is an error when I create the domain. root@gavin-laptop:~# xl create hvm_ubuntu.hvm Parsing config file /root/hvm_ubuntu.hvm WARNING: specifying
2012 May 11
15
Errors of doing "make install-tools" with xen-4.2-unstable?
Hi, When I do the "make install-tools" with xen-4.2-unstable, there are some errors about "warn_unused_result". Is it the error in code or the error in the compiling environment? Thank you so much. gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .tapdisk-queue.o.d
2011 Jul 23
9
[PATCH] Replace bios_relocate hook with bios_load hook in hvmloader
Hi, These set of patches are affected by replacing bios_relocate hook with bios_load hook in hvmloader. The patches for code files config.h and hvmloader.c also contains part of the contents of Enabling UEFI BIOS(OVMF) support in Xen-unstable HVM. Is there any problem with these patches? Thank you very much. # HG changeset patch # User gbtju85@gmail.com # Replace bios_relocate hook with
2019 Oct 01
7
upgrading from CentOS 7 to 8
Your answer has nothing to do with the original question which is related to upgrade method and not condition for reinstalling without loosing data. Sometimes you need to keep your configuration and want to avoid reconfiguring everything, and reimaging your computer keeping /home is not an option. Of course having all user files on a separate filesystem helps when reimaging the OS (that what I do
2013 Dec 14
2
[LLVMdev] create load from a register in LLVM IR
Hi all, I have recently encountered a problem when creating LLVM IRs. I am wondering if there is a standard or easy way to create a load from a certain register? For example, CreateLoad(rbp, NAME). Thanks, Chen -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131213/ec277276/attachment.html>
2006 Jan 05
3
Remotely reboot SIP Phones ?
Hi, Can you give me some councils of remotely rebooting sip phones in asterisk server? How to configure sip_notify.conf and sip.conf? Kind regards, Guan ; Reboot Polycom Phone Event=>check-sync Content-Length=>0 ; Untested (Reboot Sipura Phone) Event=>resync Content-Length=>0 ; Untested (Reboot GrandStream Phone) Event=>sys-control ; Untested (Reboot Cisco Phone)