Displaying 6 results from an estimated 6 matches for "istext".
Did you mean:
_stext
2005 Sep 18
0
Updated rawConnection() patch
...cur + size*nitems > this->nchars)
+ nitems = (this->nchars - this->cur)/size;
+ memcpy(ptr, this->data+this->cur, size*nitems);
+ this->cur += size*nitems;
+ return nitems;
+}
+
+static Rconnection newtext(char *description, SEXP data)
{
Rconnection new;
+ int isText = isString(data);
new = (Rconnection) malloc(sizeof(struct Rconn));
- if(!new) error(_("allocation of text connection failed"));
- new->class = (char *) malloc(strlen("textConnection") + 1);
- if(!new->class) {
- free(new);
- error(_("allocation of text...
2005 Aug 22
2
RFC: "loop connections"
...efineVar(this->namesymbol, val, VECTOR_ELT(OutTextData, idx));
UNPROTECT(1);
}
@@ -1859,49 +1913,55 @@
}
-static Rconnection newouttext(char *description, SEXP sfile, char *mode,
+static Rconnection newoutloop(char *description, SEXP sfile, char *mode,
int idx)
{
+ int isText = (mode[1] != 'b');
Rconnection new;
void *tmp;
new = (Rconnection) malloc(sizeof(struct Rconn));
- if(!new) error(_("allocation of text connection failed"));
- new->class = (char *) malloc(strlen("textConnection") + 1);
+ if(!new) error(_(&q...
2016 Mar 19
2
Should we enable -Wrange-loop-analysis? (Was: [llvm] r261524 - Fix some abuse of auto...)
...tatic void getObjectCoveragePoints(cons
> if (SanCovAddrs.empty())
> Fail("__sanitizer_cov* functions not found");
>
> - for (const auto Section : O.sections()) {
> + for (object::SectionRef Section : O.sections()) {
> if (Section.isVirtual() || !Section.isText()) // llvm-objdump does the same.
> continue;
> uint64_t SectionAddr = Section.getAddress();
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-c...
2014 Sep 18
5
[LLVMdev] VEX prefixes for JIT in llvm 3.5
...ch section belongs to
which object file.
With a bit of cleanup though, we could do something more like this:
const RuntimeDyld::JITObject& JO = RTDyld.loadObject(Object);
// ...
RTDyld.resolveRelocations();
DEBUG(
for (const RuntimeDyld::JITObject::Section& S : JO.sections())
if (S.isText())
Disassemble(S.getAddr(), S.getSize());
);
How does that look?
Cheers,
Lang.
On Wed, Sep 17, 2014 at 3:08 PM, Philip Reames <listmail at philipreames.com>
wrote:
>
> On 09/17/2014 12:45 PM, Matt Godbolt wrote:
>
>> Great stuff; thanks both!
>>
>> I'...
2010 Jun 21
2
[LLVMdev] MC: Object file specific parsing
...- unsigned TAA, StubSize;
- std::string ErrorStr =
- MCSectionMachO::ParseSectionSpecifier(SectionSpec, Segment, Section,
- TAA, StubSize);
-
- if (!ErrorStr.empty())
- return Error(Loc, ErrorStr.c_str());
-
- // FIXME: Arch specific.
- bool isText = Segment == "__TEXT"; // FIXME: Hack.
- Out.SwitchSection(Ctx.getMachOSection(Segment, Section, TAA, StubSize,
- isText ? SectionKind::getText()
- : SectionKind::getDataRel()));
- return false;
-}
-
-...
2014 Sep 17
2
[LLVMdev] VEX prefixes for JIT in llvm 3.5
Great stuff; thanks both!
I'm also looking to turn my MCJIT conversion spike into our main use
case. The only thing I'm missing is the ability to get a post-linked
copy of the generated assembly.
In JIT I used JITEventListener's NotifyFunctionEmitted and used a
MCDisassembler to disassemble the stream (with my own custom
annotators), and redirected the output to the relevant place