Displaying 20 results from an estimated 800 matches similar to: "[LLVMdev] Any way how to instantiate templates even when it is not necessary for the compilation?"
2012 May 08
0
[LLVMdev] Any way how to instantiate templates even when it is not necessary for the compilation?
My gut tells me that if it isn't already available, then it will
be difficult as the instantiation has to occur for the final compilation,
but that must be occurring in a later phase of compilation than the one
where the XML file is generated. Their is also a good chance that the
instantiation depends on information that isn't available until after the
XML file is generated (things like
2012 May 04
1
[LLVMdev] Any way how to instantiate templates even when it is not necessary for the compilation?
Hello,
I am working on a tool which takes c++ header files and based on interfaces defined in them generates csharp classes and glue layer for interop. For analyzing the c++ code I am currently using clang, which parses the headers and writes output into xml via -ast-print-xml (yes, this unfortunately means that it is a very old version of clang). I then use these xml files to generate the csharp
2016 Feb 18
2
Question about __NSConstantString and __NSConstantString_tag
Hi
I am the maintainer of pygccxml, which uses clang/llvm and CastXML to parse c++ code.
A user reported a problem with the current llvm 3.9 trunk version (I tested with r261262).
Our problem is that the AST contains some declarations which were not there before.
Using "clang -Xclang -ast-dump” on a c++ file, I get the following result:
TranslationUnitDecl 0x8e41ab0 <<invalid
2006 Jun 23
1
instantiate record in single table inheritance
Hi,
is there a way to instantiate a _concrete_ subtype from within an
ActiveRecord collection?
Example:
class Link < ActiveRecord::Base
end
class InternalLink < Link
end
class ExternalLink < Link
end
internal_link = my_navigation.links.create_[xxxxxxx]
external_link = my_navigation.links.create_[xxxxxxxx]
the [xxx] is what I am missing...
I could do this
external_link =
2006 Aug 25
1
Reload instance data on instantiate
I''m working on a website which interacts with Amazon web services.
I have an Item class which is a cache for amazon items. I''d like to
have the class instances to refresh data every day (Time.now -
item.last_updated > 1.day) but not sure how.
I''ve tried with
class Item < ActiveRecord::Base
# ...
private
def instantiate(record)
super
2009 Feb 19
0
Can't seem to instantiate Builder::XmlMarkup.new?
I am unable to instantiate the Builder::XmlMarkup.new on one
development machine ( Windows ) and upon my CentOS server. When I run
the same code on my Ubuntu 8.10 VMWare machine, everything runs great?
In the Builder documentation ( http://builder.rubyforge.org/ ) it
shows to put this at the top of the controller;
require ''rubygems''
require_gem ''builder''
but
2011 Sep 03
0
[LLVMdev] LLVM: Cannot instantiate JIT execution engine
I see two problems in your code
1) you need to #include "llvm/ExecutionEngine/JIT.h"
2) you must pass an empty string to EngineBuilder::setErrorStr. See
JIT::createJIT for the reason.
Jeff
On Sat, Sep 3, 2011 at 8:33 AM, Semion Prihodko <semion.ababo at gmail.com> wrote:
> Isn't there someone to help me with this issue? I'm very upset about this
> stupid problem
2011 Sep 02
3
[LLVMdev] LLVM: Cannot instantiate JIT execution engine
Hi, guys.
Have a strange problem with LLVM in my project (
https://github.com/ababo/AntOS). Cannot instantiate JIT execution engine
(NULL returns; message: Interpreter has not been linked in.). As you can see
from the code I call InitializeNativeTarget. Also I tried to directly
include the "llvm/ExecutionEngine/JIT.h" header, but with no success. I link
with `llvm-config --ldflags
2015 Jan 27
2
[LLVMdev] [Mips][TargetOptions] How to properly instantiate TargetOptions in MC layer?
Hi all,
we have several features in Mips that are dependent on target abi. A recent commit(r224492) introduced a new -target-abi option to TargetOptions struct that provides access to abi string. This info is stored in MCSubtarget class(ARMSubratget in this case) and distributed to other libraries. Unfortunately, for Mips we need this info in other classes that don't have access to MCSubtarget
2011 Sep 03
1
[LLVMdev] LLVM: Cannot instantiate JIT execution engine
Isn't there someone to help me with this issue? I'm very upset about this
stupid problem which wasted the whole day. BTW, I can create JIT from
main.cpp, but not in the required source file (runtime.cpp), so this is not
about linking. Very weird.
2011/9/2 Semion Prihodko <semion.ababo at gmail.com>
> I cannot call the constructor explicitly, because ForceJITLinking is a name
2015 Jan 29
0
[LLVMdev] [Mips][TargetOptions] How to properly instantiate TargetOptions in MC layer?
Hi Eric,
as I was working on the same issues that are covered in your patch I also made a change in clang driver to pass this option to the assembler. Could you please review it and tell me your opinion?
http://reviews.llvm.org/D6091
Thanks
Vladimir
________________________________
From: Daniel Sanders
Sent: Wednesday, January 28, 2015 8:59 PM
To: Eric Christopher; Vladimir Medic; llvmdev at
2015 Jan 28
3
[LLVMdev] [Mips][TargetOptions] How to properly instantiate TargetOptions in MC layer?
Hi Eric,
The main thing we need to fix is that the selection between ELF32/ELF64 needs to depend on the ABI being N64 and not on whether we used a mips-linux-gnu triple versus a mips64-linux-gnu triple. So 'clang -target mips-linux-gnu' -mips64r2 -mabi=64' should produce an ELF64 and 'clang -target mips64-linux-gnu -mips32r2 -mabi=32' should produce an ELF32. In terms of code,
2018 Mar 13
1
Expected performance for WORM scenario
On Tue, Mar 13, 2018 at 2:42 PM, Ondrej Valousek <
Ondrej.Valousek at s3group.com> wrote:
> Yes, I have had this in place already (well except of the negative cache,
> but enabling that did not make much effect).
>
> To me, this is no surprise ? nothing can match nfs performance for small
> files for obvious reasons:
>
Could you give profile info of the run you did with
2007 Sep 08
0
rspec_on_rails - necessary to force "test" env?
Hi all
rspec_on_rails/lib/spec/rails.rb starts:
------
dir = File.dirname(__FILE__)
require ''application''
silence_warnings { RAILS_ENV = "test" }
------
That force into "test" environment is causing me trouble and I''ve
commented it out.
Why? I''m testing a plugin, and have a sort of mini rails app that I
use for the specs. The
2006 Jul 10
0
Rail is necessary to connecting between Ruby and MySQL Datab
I want to work on Ruby and Rails. And Please tell me that Rail is
necessary to connecting between Ruby and MySQL Database.
Shakeel
--
Posted via http://www.ruby-forum.com/.
2007 Mar 25
0
HTB: is root a class really necessary?
i have been using a HTB setup for almost a year now, and i have created it
w/o a root class.
i ll try to draw it here:
1:0---1:3---1:30-local small traffic
---1:31-local rest of traffic
---1:5---1:5xxx- classes for the trafic that comes from the metro part
of the ISP that i use
---1:7---1:7xxx- classes for the trafic that does not enter the
previous 2 classes(the internet traffic)
2005 Apr 02
1
Block all - Allow only necessary
Hi,
How is a better mode to block all from internal network (local) to internet
and allow only necessary services ???
Best regards,
Anderson
2008 Jul 04
0
[PATCH 12/29] ia64/xen: add a necessary header file to compile include/xen/interface/xen.h
Create include/asm-ia64/pvclock-abi.h to compile which includes
include/asm-x86/pvclock-abi.h because ia64/xen uses same structure.
Hopefully include/asm-x86/pvclock-abi.h would be moved to somewhere
more generic.
Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
---
include/asm-ia64/pvclock-abi.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
create mode 100644
2008 Jun 19
0
[PATCH] ia64/xen: introduce synch bitops which is necessary for ia64/xen support.
define sync bitops which is necessary for ia64/xen.
Cc: Robin Holt <holt at sgi.com>
Cc: Jeremy Fitzhardinge <jeremy at goop.org>
Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
Cc: "Luck, Tony" <tony.luck at intel.com>
---
include/asm-ia64/sync_bitops.h | 50 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 50 insertions(+), 0 deletions(-)
2008 Feb 22
0
[PATCH 04/28] ia64/xen: introduce synch bitops which is necessary for ia64/xen support.
On Thu, Feb 21, 2008 at 11:42:28PM -0600, Robin Holt wrote:
> > +#define ADDR (*(volatile long *) addr)
>
> This seems like a leftover #define. Additionally, ADDR seems a bit
> vague and easily misused. Since I don't see it used anywhere else in
> that patch, I will assume it should be tossed, but reserve the right to
> rescind this comment later.
It's a leftover