Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] llvm-as parse error"
2008 Apr 14
2
[LLVMdev] llvm-as parse error
Hi:
I have just started to use llvm and confronted with a problem:
when I want to transform something very simple for name.ll to name.bc with llvm-as name.ll, some errors occured:
error: parse error, expecting `GLOBAL' or `CONSTANT' while reading token: 'target'
btw, the name.ll file is as follows:
; ModuleID = 'tst.bc'
target datalayout =
2008 Apr 14
0
[LLVMdev] llvm-as parse error
On Apr 14, 2008, at 4:35 PM, code_nf wrote:
> Hi:
> I have just started to use llvm and confronted with a problem:
> when I want to transform something very simple for name.ll to
> name.bc with llvm-as name.ll, some errors occured:
>
> error: parse error, expecting `GLOBAL' or `CONSTANT' while reading
> token: 'target'
Hi. I am having exactly the same
2008 Feb 18
1
[LLVMdev] LLVM2.2 x64 JIT trouble on VStudio build
> The x86-64 one probably doesn't work for Winodws. That's likely the
> issue.
Well, x86-64 stub was never ported to intel assembler, I expect to see
32-bit one used on windows64.
In general, the whole windows64 support is missed mainly due to crazy
calling convetion invented by Microsoft. So, all calls from code being
JITed to external functions will be clearly broken (if they
2008 Feb 13
3
[LLVMdev] LLVM2.2 x64 JIT trouble on VStudio build
Hola LLVMers,
I'm debugging through some strangeness that I'm seeing on X64 on windows with LLVM2.2. I had to change the code so that it would engage the x64 target machine on windows builds, but I've otherwise left LLVM 2.2 alone. The basic idea is that I've got a function bar which is compiled by VStudio and I'm creating another function foo via LLVM JIT which is going
2008 Feb 19
1
[LLVMdev] LLVM2.2 x64 JIT trouble on VStudio build
Hello, Chuck
> I've had a look at the stubs before and I think I'm circumventing them
> in the example program since I populate the table and compile the
> functions in the order so that things never need to be done lazily, but
> I'll look further.
Well, anyway stubs are definitely wrong from windows64 and this should
be fixed, otherwise funny stuff can happen from time to
2008 Apr 14
2
[LLVMdev] Build failure: on Linux /x86
Hi,
I tried building LLVM with the downloaded sources. I am building it with
gcc4.3.
After getting configured successfully, and running 'make', build fails with
the following message:
make[1]: Entering directory `/home/guest/SRC/llvm-2.1/lib/System'
llvm[1]: Compiling DynamicLibrary.cpp for Release build
DynamicLibrary.cpp: In static member function âstatic void*
2008 Feb 15
0
[LLVMdev] LLVM2.2 x64 JIT trouble on VStudio build
On Feb 12, 2008, at 5:26 PM, Chuck Rose III wrote:
> Hola LLVMers,
>
> I’m debugging through some strangeness that I’m seeing on X64 on
> windows with LLVM2.2. I had to change the code so that it would
> engage the x64 target machine on windows builds, but I’ve otherwise
> left LLVM 2.2 alone. The basic idea is that I’ve got a function bar
> which is compiled by
2013 Jan 03
2
[LLVMdev] Opt error
Hi Team,
I am migrating one of the Pass that was written for llvm2.2 or older to llvm3.1. The code snippet looks like the following:
Constant *func;
void add( Module *M) {
func = M->getOrInsertFunction("func", Type::getVoidTy(M->getContext()), NULL);
}
virtual bool runOnModule(Module &M) {
add (&M);
for(Module::iterator F = M.begin(), E = M.end(); F !=
2008 Feb 15
1
[LLVMdev] LLVM2.2 x64 JIT trouble on VStudio build
Hey Evan,
At the point of the instructions you suggested I step through, X86ISelLowering has this state:
- this 0x00000000005fe728 {VarArgsFrameIndex=-842150451 RegSaveFrameIndex=-842150451 VarArgsGPOffset=3452816845 ...} llvm::X86TargetLowering * const
+ llvm::TargetLowering {TM={...} TD=0x00000000008edac0
2010 Mar 22
6
[LLVMdev] Summer of Code ideas
Hi,
I intend to participate in Google's Summer of Code this year, so I'd
like to bounce another idea around to see what you guys think. (I posted
a similar message to cfe-dev just now.) Be warned: this will shock you.
It may even horrify you.
1. Implement a 16-bit x86 backend. (*Chris recoils in horror*) Yeah, I
know 16-bit x86 is dead, but I find it interesting for historical
purposes
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
2008 Mar 07
6
where is the location of definition of "do_xen_version"?
hi, my friends:
Currently, i am studying the way of hypercall's implementation.
i have already known the flow of hypercall's execuation, and i decided to add a new hypercall into the Xen.
first, i want to know the detail of one hypercall function, for example, "do_xen_version", but i can not find
the location of definition of "do_xen_version". who can help me?
i have
2019 Jan 23
3
答复: How to add new arch for llvm-cov show?
Hi vedant,
The program didn't pass the checking "OF->getArch() != Triple(Arch).getArch()" loadBinaryFormat in CoverageMappingReader.cpp and returned an error. It's because "OF->getArch()" returned null and "Triple(Arch).getArch()" returned XXXX(name of my arch).
The returned value of " OF->getArch()" is decided by "
2013 Jan 03
0
[LLVMdev] Opt error
Hi Ahmad,
On 03/01/13 16:26, Hassan, Ahmad wrote:
> Hi Team,
>
> I am migrating one of the Pass that was written for llvm2.2 or older to llvm3.1.
> The code snippet looks like the following:
>
> Constant *func;
>
> void add( Module *M) {
>
> func = M->getOrInsertFunction("func", Type::getVoidTy(M->getContext()), NULL);
this function has no
2006 Mar 22
5
Double Call Progress tones
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This is slowly driving me nuts!
I have several Cisco 7960s with SIP 8.2/7.5 fw connecting to Asterisk
1.2.5 driving a TE110P on a BT EuroISDN PRI line. On all outgoing calls
I get a double ring tone (UK style + US style). I also have a DECT phone
on a Sipura SPA-3000 configured with UK tones. This gives me a double
ring of UK + UK, so this
2006 Mar 01
1
How-to question: form creation / different table update
I could use some direction.
I need a form to collect information on a user''s allergies. I want to present them with a form much like the one we fill out when we see a new doc where you just check-off the things you''re allergic to. When the form comes back to the controller I want to add a record to a table for each allergy they''ve checked.
I was thinking I should
2019 Jan 25
2
答复: How to add new arch for llvm-cov show?
Hi vedant,
1. First, I think your theory is right that llvm’s object file reading libraries do not “understand” the architecture I’m working on. Since I’m using binutils as assembler which means llvm can only provide asm and object file is provided by biutils. I think these ELF header information is provided by my binutils now, so maybe I have to modify binutils code to provide ELF header
2010 Oct 19
7
PV-Driver
Hi, All
I have to do some job with PV-driver, who could give me some advice, thank you very much!
2010-10-19
xudongxen
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2008 Jun 02
2
problems with netback
hi
I've some problems with netback
1.what's mmap_pages for, which come from balloon operation ?
mmap_pages = alloc_empty_pages_and_pagevec(MAX_PENDING_REQS)
2.what's the meaning of "refcnt" defined in netif_t (netif->refcnt)
3.irq enable and disable
such as disable_irq(netif->irq);
why netback use such enable & disable operations while netfront dont use for its
2019 Jan 24
2
答复: 答复: How to add new arch for llvm-cov show?
Hi vedant,
1. The definition is from llvm/Supprot/ELF.h. But this machine information(e_machine) is given to compiler at lib/MC/ELFObjectWriter.cpp. I greped the whole llvm project and found that e_machine was assigned at only two files. One was lib/MC/ELFObjectWriter.cpp(there was an comment said “e_machine=target”) and the other was tools/obj2yaml/elf2yaml.cpp(GDB stopped only at the