search for: pr10367

Displaying 6 results from an estimated 6 matches for "pr10367".

2014 May 05
2
[LLVMdev] [RFC] Section Declarations in LLVM IR
...9;m planning on sending patches for this soon. -- David Majnemer On Tue, Apr 1, 2014 at 2:23 PM, Rafael Espíndola <rafael.espindola at gmail.com > wrote: > > I like this proposal. Any reason to use an explicit offset rather than > > allow GEPs into aliases? > > Part of pr10367. A contant gep is more generic than whan an alias can > actually represent I started to work on it just to find that MC would > misassemble the generated code, which is what I have been fixing the > last few days. > > Cheers, > Rafael > -------------- next part --------------...
2013 Oct 30
1
[LLVMdev] [RFC] Alias should not point to declarations
...obal). > > This representation is bad for several reasons. I think it would be much better to change GlobalAlias to allow the aliasee to have a different type than the alias itself, and then require the aliasee to be an actual GlobalValue, disallowing constexprs completely. This is llvm.org/pr10367, right? Cheers, Rafael
2014 Apr 01
2
[LLVMdev] [RFC] Section Declarations in LLVM IR
On Tue, Mar 11, 2014 at 12:17 PM, Rafael Espíndola < rafael.espindola at gmail.com> wrote: > > I think LLVM needs new IR to represent these semantics properly. > Cool! This proposal makes a lot of sense to me. > > - Sections have linkage, all Values inside of a section must agree with > the > > section's linkage. > > This seems way too restrictive and I
2013 Oct 30
0
[LLVMdev] [RFC] Alias should not point to declarations
On Oct 30, 2013, at 12:35 PM, Rafael Espíndola <rafael.espindola at gmail.com> wrote: > A long time ago (before r97733) we used to model the weakref attribute > by outputting a new declaration and a weak alias to it. This was > fairly buggy and we now implement weakref directly in clang, with the > same logic an assembler uses to implement .weakref (which is what gcc >
2013 Oct 30
2
[LLVMdev] [RFC] Alias should not point to declarations
On 30 October 2013 16:16, Tim Northover <t.p.northover at gmail.com> wrote: > Hi Rafael, > >> With all that in mind, the attached patch changes the verifier to >> reject aliases to declarations and updates that language reference. > > MachO has an R_INDR (== "indirect") symbol flag/type that (from my > understanding) exactly reflects this. The linker is
2013 Oct 30
4
[LLVMdev] [RFC] Alias should not point to declarations
A long time ago (before r97733) we used to model the weakref attribute by outputting a new declaration and a weak alias to it. This was fairly buggy and we now implement weakref directly in clang, with the same logic an assembler uses to implement .weakref (which is what gcc prints). One thing that was left from that old implementation is that we still have alias to declarations and they are a