Displaying 8 results from an estimated 8 matches for "my_sect".
Did you mean:
my_set
2011 Nov 24
1
[LLVMdev] differences in IR and ELF?
...Constant *array = ConstantArray::get(type, a_elements);
/* Make new GlobalVariable from array */
GlobalVariable *global = new GlobalVariable(M, type, true,
my_linkage, array,
"my array");
global->setSection(*my_section);
}
The IR looks like this:
@"my array" = constant [3 x i32*] [i32* bitcast (i32 (i32)** @"Shadow
Variable for ptr1" to i32*), i32* bitcast (i32 (i32)* @f2 to i32*),
i32* bitcast (i32 (i32)* @f1 to i32*)], section "my_section"
@"my array2" = constant [3 x...
2011 Nov 24
0
[LLVMdev] differences in IR and ELF?
Contents of section my_section:
400890 c3666666 6666662e 0f1f8400 00000000 .ffffff.........
4008a0 38106000 00000000 b0064000 00000000 8.`....... at .....
4008b0 d0064000 00000000 0f1f8400 00000000 .. at .............
4008c0 38106000 00000000 d0064000 00000000 8.`....... at .....
4008d0 30074000 00000000...
2020 Mar 27
2
[lld] RFC: Allow custom sections to be under GNU_RELRO
...th the fixed ".rel.ro" suffix
for .data and .bss. Custom suffixes would also mean that the user code
would depend more on implementation-specific things, i.e. prefixes. For
example, one would wonder, should they annotate their data with
__attribute__((section(...))) for ".data.rel.ro.my_section" or
".bss.rel.ro.my_section"?
> The second is that you may be able to accomplish what you need with a
linker script
We discussed the possibility of using a custom linker script to achieve
that. The main problem is that we're planning to ship the garbage collector
as a libr...
2014 Mar 11
2
[LLVMdev] [RFC] Section Declarations in LLVM IR
...the
section's linkage.
- Sections don't have visibility, Values may disagree with one another
about how visible they are.
- Sections have attributes annotating what semantics they provide (read,
write, execute, etc.)
A concrete example of a const variable inside of a read-only section:
$.my_section = appending read
@my_var = constant float 1.0, section $.my_section, align 4
The following is how I imagine MS RTTI would look like if we had this IR
construct:
$.vdata_for_type = pick_largest read
@my_rtti_for_type = pick_largest unnamed_addr constant %rtti_ptr_ty
@rtti_complete_object_locato...
2014 Aug 05
2
[LLVMdev] Create "appending" section that can be partially dead stripped
On 04 Aug 2014, at 09:27, Reid Kleckner wrote:
> On Sat, Aug 2, 2014 at 7:51 AM, Jonas Maebe
> <jonas.maebe at elis.ugent.be>
> wrote:
>
>> On 01/08/14 19:37, Reid Kleckner wrote:
>>
>>> What happens if you drop appending linkage? I think it will just
>>> work,
>>> since you are already using a custom section, which will ensure
2006 May 30
4
Limiting getElementsByClassName to specific nodes and entities
I''m currently using "The Ultimate getElementsByClassName"
(http://www.robertnyman.com/2005/11/07/the-ultimate-getelementsbyclassname/)
instead of the Prototype version. This version seems to be faster since it
lets you specify the starting node and the type of entity. For example:
var widgets = getElementsByClassName(document, "ol", "tree");
Is
2020 Mar 26
2
[lld] RFC: Allow custom sections to be under GNU_RELRO
Hey,
We would like to propose an idea that would help security harden
applications that define custom sections.
Motivation and Background
In Chromium we have a garbage collector that implements some RTTI machinery
in the form of a table. This table is used by the collector to trace and
finalize garbage collected objects. We're thinking of using
__attribute__((section(...))) so that the table
2011 Nov 15
0
[LLVMdev] constructing global array of pointers?
...lVariable from array */
GlobalVariable *global = new GlobalVariable(M, type, true,
my_linkage, array,
"my array");
global->setSection(*my_section);
}