Displaying 12 results from an estimated 12 matches for "isreadonly".
Did you mean:
is_readonly
2013 Oct 01
2
[LLVMdev] JITMemoryManager
...on(Size, Alignment, SectionID);
}
#if HAVE_LLVM >= 0x0303
virtual uint8_t *allocateDataSection(uintptr_t Size,
unsigned Alignment,
unsigned SectionID,
bool IsReadOnly) {
return mgr()->allocateDataSection(Size, Alignment, SectionID,
IsReadOnly);
}
virtual void registerEHFrames(llvm::StringRef SectionData) {
return mgr()->registerEHFrames(SectionData);
}
#else
virtual uint8_t *alloca...
2013 Oct 02
0
[LLVMdev] JITMemoryManager
...onID);
> }
> #if HAVE_LLVM >= 0x0303
> virtual uint8_t *allocateDataSection(uintptr_t Size,
> unsigned Alignment,
> unsigned SectionID,
> bool IsReadOnly) {
> return mgr()->allocateDataSection(Size, Alignment, SectionID,
> IsReadOnly);
> }
> virtual void registerEHFrames(llvm::StringRef SectionData) {
> return mgr()->registerEHFrames(SectionData);
> }
> #else...
2013 Oct 02
3
[LLVMdev] JITMemoryManager
...gt;> #if HAVE_LLVM >= 0x0303
>> virtual uint8_t *allocateDataSection(uintptr_t Size,
>> unsigned Alignment,
>> unsigned SectionID,
>> bool IsReadOnly) {
>> return mgr()->allocateDataSection(Size, Alignment, SectionID,
>> IsReadOnly);
>> }
>> virtual void registerEHFrames(llvm::StringRef SectionData) {
>> return mgr()->registerEHFrames(SectionData);
>...
2020 Feb 19
2
Poor write performance with golang binding
...}
}
if op == OpUndef {
log.Fatalf("unkown op %s\n", opname)
}
g, err := guestfs.Create()
if err != nil {
log.Fatalf("could not create guestfs handle: %s\n", err)
}
defer g.Close()
/* Attach the disk image to libguestfs. */
isReadonly := map[Op]bool{
OpList: true,
OpCat: true,
OpWrite: false,
}
optargs := guestfs.OptargsAdd_drive{
Readonly_is_set: true,
Readonly: isReadonly[op],
}
if err := g.Add_drive(disk, &optargs); err != nil {
log.Fatal(err)
}...
2020 Feb 19
0
Re: Poor write performance with golang binding
...ot;unkown op %s\n", opname)
>
> }
>
> g, err := guestfs.Create()
> if err != nil {
> log.Fatalf("could not create guestfs handle: %s\n", err)
> }
> defer g.Close()
>
> /* Attach the disk image to libguestfs. */
> isReadonly := map[Op]bool{
> OpList: true,
> OpCat: true,
> OpWrite: false,
> }
> optargs := guestfs.OptargsAdd_drive{
> Readonly_is_set: true,
> Readonly: isReadonly[op],
> }
> if err := g.Add_drive(disk, &optarg...
2020 Aug 19
3
[libnbd PATCH 0/2] NBD_OPT_INFO support
This replaces 13/13 of my v2 series; and now that it has pretty good
testsuite coverage and demonstrable performance improvement to
nbdinfo, I'm going ahead and pushing this now. We may still want to
add further nbd_opt_* commands for other fine-grained tuning of
negotiation, but for now, I think things have stabilized on this end,
and I can return to polishing .list_exports on the nbdkit
2013 Jun 25
0
[LLVMdev] Contants generation - proposal
Hi Elena,
> (2) Proposal
> Define one more Code Model, let's say "LargeNearConst", which will allow to put constants in .text.
Isn't that a little heavy-handed? The large model only requires the
less efficient access for symbols we can't control, and in fact x86
still uses pc-relative conditional branches within a function so it
can't pretend to support a single
2013 Jun 26
2
[LLVMdev] Contants generation - proposal
...and CodeModel::Small for 32-bit.
And the TargetLoweringObjectFile already has CodeModel inside. So the code will look like :
const MCSection *
TargetLoweringObjectFile::getSectionForConstant(SectionKind Kind) const {
if (getCodeModel() == CodeModel::LargeJIT)
return TextSection;
if (Kind.isReadOnly() && ReadOnlySection != 0)
return ReadOnlySection;
return DataSection;
}
- Elena
-----Original Message-----
From: Tim Northover [mailto:t.p.northover at gmail.com]
Sent: Tuesday, June 25, 2013 23:31
To: Demikhovsky, Elena
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Contant...
2013 Jun 25
2
[LLVMdev] Contants generation - proposal
Hi all,
I analyzed more and ready (1) to describe the problem and (2) I have a proposal.
(1) Problem description:
In X86_64 target the Code Model is "Large". It means that address is 64-bit and IP-relative memory operand can't be used in this case.
(Because in IP-relative memory operand the displacement is 32-bit).
In order to load constant, we use 2 instructions.
movabsq
2014 Aug 25
2
[LLVMdev] How to tell whether a GlobalValue is user-defined
...tFileImpl.cpp
> index 55e1756..bf78ce1 100644
> --- a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
> +++ b/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
> @@ -667,12 +667,6 @@
> TargetLoweringObjectFileMachO::getSectionForConstant(SectionKind Kind,
> if (Kind.isDataRel() || Kind.isReadOnlyWithRel())
> return ConstDataSection;
>
> - if (Kind.isMergeableConst4())
> - return FourByteConstantSection;
> - if (Kind.isMergeableConst8())
> - return EightByteConstantSection;
> - if (Kind.isMergeableConst16())
> - return SixteenByteConstantSection;
>...
2007 Apr 13
0
[952] branches/wxruby2/wxwidgets_282/doc/textile/gridcellattr.txtl: Doc fix from Wx 2.8
...t;<span class="cx">
</span><ins>+
</ins><span class="cx"> h3(#GridCellAttr_setreadonly). GridCellAttr#set_read_only
</span><span class="cx">
</span><span class="cx"> *set_read_only*(%(arg-type)Boolean% isReadOnly = true)
</span><span class="lines">@@ -162,6 +170,9 @@
</span><span class="cx">
</span><span class="cx">
</span><span class="cx">
</span><ins>+See "set_alignment":#GridCellAttr_setalignm...
2018 Sep 12
2
OpenJDK8 failed to work after compiled by LLVM 8 for X86
Reported https://bugs.llvm.org/show_bug.cgi?id=38911
Thanks,
Leslie Zhai
在 2018年09月11日 16:55, Dimitry Andric 写道:
> Hi Leslie,
>
> The problem really lies in the OpenJDK code, as it is attempting to
> write to a const object. If this seems to work with certain compiler(s)
> and optimization settings, it is just luck. :-)
>
> Here is a reduced example, which shows the