Displaying 18 results from an estimated 18 matches for "getcont".
Did you mean:
getconf
2011 Nov 16
0
[LLVMdev] Emitting switch table data to section (previously - subclassing MCELFStreamer)
...ion.
I'm sure it is just a few lines of code. Any suggestions?
Jack
void MCObjectStreamer::EmitGPRel32Value(const MCExpr *Value) {
MCDataFragment *DF = getOrCreateDataFragment();
int Size = 4; // Assumption is that this is alway for 4 byte value
DF->addFixup(MCFixup::Create(DF->getContents().size(),
Value,
FK_GPRel_4));
DF->getContents().resize(DF->getContents().size() + Size, 0);
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/atta...
2006 Jun 30
6
using rjs
Hi
I am relatively new to ruby on rails. I want to use this javascript
bundle:
http://prototype-window.xilinus.com/index.html
How would I call those functions in an rjs file?
example:
win = new Window(''window_id'', {title: "Sample", top:100, left:350})
win.getContent().innerHTML = "<h1>Hello world !!</h1>";
win.setDestroyOnClose();
win.showCenter();
Thanks
--
Posted via http://www.ruby-forum.com/.
2012 Nov 29
2
[LLVMdev] [cfe-dev] UB in TypeLoc casting
Moving to LLVM dev to discuss the possibility of extending the cast
infrastructure to handle this.
On Tue, Nov 20, 2012 at 5:51 PM, John McCall <rjmccall at apple.com> wrote:
> On Nov 18, 2012, at 5:05 PM, David Blaikie <dblaikie at gmail.com> wrote:
>> TypeLoc casting looks bogus.
>>
>> TypeLoc derived types return true from classof when the dynamic type
>>
2015 Aug 27
2
Modifying objects with MC
...What would be the recommended
>> approach to achieving this goal?
>
> I have a similar use case and would also be interested in an answer. In the meantime, I have a horrible hack that may work for you.
>
> My current hack works because the returned StringRefs for the SymbolRef::getContents are within the range of the MemoryBuffer and so the offset relative to the memory buffer corresponds to the file offset and this offset can be used to write into the file directly.
>
> It’s a horrible hack though, and it would be nice to simply have a mutable memory buffer that can be wr...
2012 Nov 30
0
[LLVMdev] [cfe-dev] UB in TypeLoc casting
...ValueSize() && "Invalid virtual align in concrete fragment!");
@@ -432,14 +432,14 @@
}
case MCFragment::FT_Data: {
- MCDataFragment &DF = cast<MCDataFragment>(F);
+ const MCDataFragment &DF = cast<MCDataFragment>(F);
assert(FragmentSize == DF.getContents().size() && "Invalid size!");
OW->WriteBytes(DF.getContents().str());
break;
}
case MCFragment::FT_Fill: {
- MCFillFragment &FF = cast<MCFillFragment>(F);
+ const MCFillFragment &FF = cast<MCFillFragment>(F);
assert(FF.getV...
2015 Aug 25
3
Modifying objects with MC
Hi,
I've been trying to write a tool that reads in an ELF file and modifies
one section within that ELF file based on the data contained within
another section. Using llvm-objdump as a template of how to read an
object file, I've been able to read the latter section that tells me
what to edit, but I haven't found a way to edit the former, as
everything in the
2010 Jul 16
0
[LLVMdev] Win32 COFF Support - Patch 3
...aracteristics =
> + COFF::IMAGE_SCN_LNK_COMDAT |
> + COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA |
> + COFF::IMAGE_SCN_MEM_READ |
> + COFF::IMAGE_SCN_MEM_WRITE;
> +
> + int Selection = COFF::IMAGE_COMDAT_SELECT_LARGEST;
> +
> + MCSection const *Section = MCStreamer::getContext().getCOFFSection(
> + SectionName, Characteristics, Selection, SectionKind::getBSS()
> + );
Please spell the type as "const MCSection *". I would also eliminate the
Selection variable.
> +
> + MCSectionData *SectionData = getSectionData(Section);
> +
> + if (S...
2010 Jul 14
2
[LLVMdev] Win32 COFF Support - Patch 3
On Sun, Jul 11, 2010 at 6:10 PM, Chris Lattner <clattner at apple.com> wrote:
> This probably needs to be slightly tweaked to work with mainline. I don't see anything objectionable, but I think Daniel needs to review this one.
Updated patch to work with mainline.
http://github.com/Bigcheese/llvm-mirror/commit/d19a4c82c18afc4830c09b70f02d162292231c94
- Michael Spencer
2006 Jul 17
0
Is there an example of using "Prototype Window Class'' with rails?
...mple of http://prototype-window.xilinus.com/index.html being used
in rails. Should I try and feed it through page.call using rjh.
Like this:
page.call (''win = new Window("window_id", {className: "mac_os_x",
title: "Sample", width:200, height:150});win.getContent().innerHTML =
"<h1>Hello world !!</h1>";win.setDestroyOnClose();win.showCenter();'')
I think I am missing something really obvious.
2010 Jul 17
1
[LLVMdev] Win32 COFF Support - Patch 3
On Fri, Jul 16, 2010 at 11:25 AM, Daniel Dunbar <daniel at zuster.org> wrote:
> Hi Michael,
>
> Overall patch looks good. I do have a few comments below. My main
> comment is please try to make the style match that used in the
> MCMachOStreamer more closely. I intend to refactor more functionality
> into the base MCObjectStreamer class, and having them use consistent
>
2015 Oct 05
2
[cfe-dev] Orc Windows C++
...00079E68EEE88 0x00000079E6A317FC 0x00000079E68EEC98), llvm::object::COFFObjectFile::getSectionContents() + 0x74 bytes(s), c:\llvm\llvm\lib\object\coffobject
file.cpp, line 293
0x00007FF65E8B2BC5 (0x00000079E68EEC48 0x00000079E68EEE88 0x00000079E68EEC98 0x00000079E68EEC78), llvm::object::SectionRef::getContents() + 0x55 bytes(s), c:\llvm\llvm\include\llvm\object\objectfile.h
, line 375 + 0x2D byte(s)
0x00007FF65EA1E516 (0x00000079E6A5DEA0 0x00000079E68EEFF0 0x00000079E6A4AC40 0xCCCCCCCCCCCCCCCC), llvm::RuntimeDyldImpl::loadObjectImpl() + 0x4D6 bytes(s), c:\llvm\llvm\lib\executionengine\runtimedyld
\ru...
2015 Oct 05
2
[cfe-dev] Orc Windows C++
...000079E6A317FC 0x00000079E68EEC98), llvm::object::COFFObjectFile::getSectionContents() + 0x74 bytes(s), c:\llvm\llvm\lib\object\coffobject
>> file.cpp, line 293
>> 0x00007FF65E8B2BC5 (0x00000079E68EEC48 0x00000079E68EEE88 0x00000079E68EEC98 0x00000079E68EEC78), llvm::object::SectionRef::getContents() + 0x55 bytes(s), c:\llvm\llvm\include\llvm\object\objectfile.h
>> , line 375 + 0x2D byte(s)
>> 0x00007FF65EA1E516 (0x00000079E6A5DEA0 0x00000079E68EEFF0 0x00000079E6A4AC40 0xCCCCCCCCCCCCCCCC), llvm::RuntimeDyldImpl::loadObjectImpl() + 0x4D6 bytes(s), c:\llvm\llvm\lib\executionengi...
2010 Oct 21
2
[LLVMdev] Fwd: [llvm-commits] Proof of concept patch for unifying the .s/ELF emission of .ARM.attributes
On Wed, Oct 20, 2010 at 2:56 PM, Rafael Espíndola
<rafael.espindola at gmail.com> wrote:
>> Gosh, this is taking a while :-)
>> Is there anything else I missed?
>
> Another one I noticed. Instead of
>
> SmallString<32> *FC = &currFileFragment.getContents();
> (*FC) += static_cast<char>(attr);
> (*FC) += static_cast<char>(0xFF & v);
>
> You can do
>
> OutStreamer.EmitIntValue(static_cast<char>(attr), 1);
> OutStreamer.EmitIntValue(0xFF & v, 1);
>
> No? Using the streamer inte...
2006 Jun 12
6
Prototype Window Class v0.85
Hi
I just want to annouce a new release of my Prototype Window Class
with a new website with full documentation and new samples (I hope
it''s easier to understand now :)).
http://prototype-window.xilinus.com/
Thanks again to all of you guys for your help.
Seb
PS Dj T, have you finished your Rails plugin?
2015 Oct 14
4
[cfe-dev] Orc Windows C++
...ect::COFFObjectFile::getSectionContents() + 0x74 bytes(s),
>> c:\llvm\llvm\lib\object\coffobject
>> >> file.cpp, line 293
>> >> 0x00007FF65E8B2BC5 (0x00000079E68EEC48 0x00000079E68EEE88
>> 0x00000079E68EEC98 0x00000079E68EEC78),
>> llvm::object::SectionRef::getContents() + 0x55 bytes(s),
>> c:\llvm\llvm\include\llvm\object\objectfile.h
>> >> , line 375 + 0x2D byte(s)
>> >> 0x00007FF65EA1E516 (0x00000079E6A5DEA0 0x00000079E68EEFF0
>> 0x00000079E6A4AC40 0xCCCCCCCCCCCCCCCC),
>> llvm::RuntimeDyldImpl::loadObjectImpl() + 0...
2006 Apr 14
1
Script.aculo.us Effects with callbacks not working as it should.
...39;edit_button'']).disabled = true;
$(content_elements[''save_button'']).disabled = true;
Element.show(content_elements[''busy_indicator'']);
// Get the contents of the editor and escape any html.
var content =
tinyMCE.getContent($(content_elements[''editor''])).escapeHTML();
// Escape all the nasty characters.
var content = content.replace(/=/g,"*equals*");
var content = content.replace(/&/g,"*ampersand*");
var content = content.replace(/\+/...
2015 Oct 02
2
[cfe-dev] Orc Windows C++
Thanks for the link!
There’s some code there that looks extremely relevant to say the least.
> On 1 Oct 2015, at 19:00, Hayden Livingston <halivingston at gmail.com> wrote:
>
> Maybe looking at their code might help:
>
> https://github.com/dotnet/llilc/blob/dd12743f9cdb5418f1c39b2cd756da1e8396a922/lib/Jit/LLILCJit.cpp#L299
>
> On Thu, Oct 1, 2015 at 10:45 AM, David
2015 Oct 19
2
[cfe-dev] Orc Windows C++
...0000079E68EEC98), llvm::object::COFFObjectFile::getSectionContents() + 0x74 bytes(s), c:\llvm\llvm\lib\object\coffobject
>> >> file.cpp, line 293
>> >> 0x00007FF65E8B2BC5 (0x00000079E68EEC48 0x00000079E68EEE88 0x00000079E68EEC98 0x00000079E68EEC78), llvm::object::SectionRef::getContents() + 0x55 bytes(s), c:\llvm\llvm\include\llvm\object\objectfile.h
>> >> , line 375 + 0x2D byte(s)
>> >> 0x00007FF65EA1E516 (0x00000079E6A5DEA0 0x00000079E68EEFF0 0x00000079E6A4AC40 0xCCCCCCCCCCCCCCCC), llvm::RuntimeDyldImpl::loadObjectImpl() + 0x4D6 bytes(s), c:\llvm\llvm...