Displaying 20 results from an estimated 600 matches similar to: "[LLVMdev] RFC: Supporting ELF symbol aliases via GlobalAlias GEPs"
2009 Aug 25
0
[LLVMdev] RFC: Supporting ELF symbol aliases via GlobalAlias GEPs
I've attached a less-hackish implementation of this. This includes
the following modifications:
- getSupportsOverlappingAliases() method on TargetMachine which
returns whether the target supports multiple symbols to the same
object. This returns false in the superclass and needs to be
explicitly overridden for each target to enable it.
- An implementation of this method in
2009 Aug 25
1
[LLVMdev] RFC: Supporting ELF symbol aliases via GlobalAlias GEPs
Hi David,
Even if this works on Linux/ELF, do know whether it is "officially" supported?
Using aliases to point to the interior of objects seems like something
that could be very likely to break, but I don't know anything about
how ELF encodes aliases.
- Daniel
On Tue, Aug 25, 2009 at 9:07 AM, David Chisnall<csdavec at swansea.ac.uk> wrote:
> I've attached a
2010 Jun 10
3
Finding distance matrix for categorical data
All,
How can we find a distance matrix for categorical data
ie. given a csv below
var1 var2 var3 var4
element1-1 yes x a k
element1-2 no y b l
element1-3 maybe y c m
how can i compute the distance matrix between all the elements
Actually i need it to create clusters on top
2011 Jun 17
0
[LLVMdev] can GlobalAlias point to a middle of a structure?
Hi Kostya,
> In order to find out-of-bound accesses to global objects with AddressSanitizer
> (http://code.google.com/p/address-sanitizer/wiki/AddressSanitizer)
> I need to create redzones to the left and to the right of every global variable.
>
> I tried the following:
> Before:
> @Extern = global [10 x i8] zeroinitializer, align 1
> After:
> %0 = type { [32 x
2014 Oct 02
2
[LLVMdev] LTOModule::parseSymbols not handling GlobalAlias
Hello everyone,
...I should have used a different subject line in the first place...
I've asked Rafael a question about GlobalAlias handling in
LTOModule::parseSymbols, but he seems to be on vacation...
Does anyone knows the answer?
Thanks a lot!
Sergei
---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
The Linux Foundation
> -----Original
2011 Jun 17
3
[LLVMdev] can GlobalAlias point to a middle of a structure?
Hi,
In order to find out-of-bound accesses to global objects with
AddressSanitizer (
http://code.google.com/p/address-sanitizer/wiki/AddressSanitizer)
I need to create redzones to the left and to the right of every global
variable.
I tried the following:
Before:
@Extern = global [10 x i8] zeroinitializer, align 1
After:
%0 = type { [32 x i8], [10 x i8], [54 x i8] }
@Extern_asan_redzone =
2006 Jul 28
2
passing a variable from controller to model
Hi,
How do I pass a variable from my action into a model before saving the
model. I''d like the model instance to have access to this variable to
do some work before saving the model instance but the variable is not
part of the model itself.
Thanks,
Sam
--
Posted via http://www.ruby-forum.com/.
2016 Dec 28
0
why clang compile local to global
> On Dec 27, 2016, at 11:09 PM, liuyu11 at ict.ac.cn via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hello,everyone:
> I want to known how to let clang compile my local array to local variables:
> I have the code :
> int main()
> {
> int a[3]={1,2,3};
>
> int b=7;
> int c=8;
> int d=9;
> int e=10;
> int f=11;
>
2013 Mar 07
2
[LLVMdev] ARM assembler's syntax in clang
Hi Ashi,
> ld: illegal text-relocation to _data_table in table.o from foo in
> use_table.o for architecture armv7
It looks like you're using iOS. I'm not familiar with the exact
workings of that platform, but I think a similar message would occur
in ELF-land.
If iOS *is* comparable, your issue is that symbols in dynamically
loaded objects can't (usually) be referenced directly
2013 Mar 08
0
[LLVMdev] ARM assembler's syntax in clang
> And be warned that the PC doesn't point at the next instruction when you
use it like this - I believe you don't need to modify it at all if you swap
the pop and the .long.
Bernie, is it related to ARM pipeline? I'm interesting in this, is there
any other additional information?
On Fri, Mar 8, 2013 at 4:59 AM, Tim Northover <t.p.northover at gmail.com>wrote:
> Hi Ashi,
2011 May 22
6
How to capture correctly a specific exception
I a using delayed_job, and I am raising an exception this way :
config/initializers/custom_exceptions.rb
class RemoteLockerException < StandardError; end
class RemoteLockerDenied < StandardError; end
lib/instruction_request_job.rb
class InstructionRequestJob < Struct.new(:style, :request_id)
def perform
....
> connector =
2010 Nov 12
0
[LLVMdev] Collapse OBJC_CLASSLIST_REFERENCES globals in llvm-link?
Hello list,
I'm wondering about the feasibility of collapsing the following two globals
within llvm-link:
@"OBJC_CLASSLIST_REFERENCES_$_2" = private global %struct.objc_class*
bitcast (%struct._class_t* @"OBJC_CLASS_$_NSString" to %struct.objc_class*),
section "__DATA, __objc_classrefs, regular, no_dead_strip", align 4
@"OBJC_CLASSLIST_REFERENCES_$_8"
2010 Jun 21
2
[LLVMdev] MC: Object file specific parsing
Hi Daniel,
attached is a patch that pushes most of the object file specific parsing
out of AsmParser and down into MachOAsmParser. This was done as a
cleanup for the ELF work. I know that you're not happy with this
approach, particularly the fact that as we add more object file formats
and assembler dialects, it's going to cause a class explosion. But I was
hoping that we could use this
2011 Mar 21
1
[LLVMdev] Text or Data symbol
On 3/21/11 2:00 PM, Damien Vincent wrote:
> I reply to myself... I didn't go in the right direction in my previous
> email.
>
> There is an easy way to tell if a GlobalValue corresponds to data or code:
> const GlobalValue *GV;
> if(Function::classof(GV))
> ... // process the global value as a function
> else
> ... // process the global value as data
>
>
2020 Sep 10
2
[IR] Modelling of GlobalIFunc
> * Calling getBaseObject() on a GlobalIFunc returns its resolver function.
I still don't understand how it can happen looking to the code (
https://github.com/llvm/llvm-project/blob/master/llvm/lib/IR/Globals.cpp#L430).
I believe it should return nullptr (the same as if you call it from
GlobalAlias that refers to GlobalIFunc).
I don't have a strong opinion here because deriving
2017 Mar 07
2
[BUG Report] -dead_strip, strips prefix data unconditionally on macOS
On Mon, Mar 6, 2017 at 5:54 PM, Moritz Angermann <moritz.angermann at gmail.com
> wrote:
> Hi Peter,
>
> I’ve just experimented with this a bit:
>
> Say we would end up with the following assembly:
>
> .section __TEXT,__text
> .globl _main
>
> .long 1
> _main:
> inc %eax
> ret
>
> .globl _main.dsp
> .alt_entry _main.dsp
2017 Mar 07
4
[BUG Report] -dead_strip, strips prefix data unconditionally on macOS
Firstly, do you need "main.dsp" defined as an external symbol, or can all
external references go via "main"? If the answer is the latter, that will
make the solution simpler.
If only the latter, you will need to make a change to LLVM here:
http://llvm-cs.pcc.me.uk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp#650
Basically you would need to add a hook to the TargetLoweringObjectFile
2006 Jan 27
5
Before I write this myself, is there already an easier way?
Recently I''ve wanted to be able to take the data I''ve painstakingly
defined in my fixture files and slurp it up into my development database
so I can play with my website (locally, in development mode) with the
same data I use in my tests.
In a similar vein, I want to take the table definitions in the
development_structure.sql file and use it to re-define my development
2016 Nov 13
2
llc generating code that writes below the stack pointer on darwin/x86-64
Hi,
Is there something wrong with my inline assembly below?
***
target datalayout =
"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.5"
define void @"\01_SYSTEM_$$_SETMXCSR$LONGWORD"(i32 %p.w) nobuiltin {
; [71] procedure
2017 Mar 07
2
[BUG Report] -dead_strip, strips prefix data unconditionally on macOS
I suspect that the format isn't important if you do that, but I wouldn't
recommend it, at least because inlining (and other inter-procedural
optimizations) are not expected to work correctly if you produce IR like
that.
Peter
On Mon, Mar 6, 2017 at 6:44 PM, Moritz Angermann <moritz.angermann at gmail.com
> wrote:
> Peter,
>
> thanks again! Yes, we only need to refer to