Displaying 8 results from an estimated 8 matches for "llvm_attribute_us".
Did you mean:
llvm_attribute_used
2013 Jun 12
2
[LLVMdev] [PATCH] gcc-4.8.1 -flto, error for visibility of LLVMX86CompilationCallback2?
...ib/Target/X86/X86JITInfo.cpp
index 44d8cce..8acc220 100644
--- a/lib/Target/X86/X86JITInfo.cpp
+++ b/lib/Target/X86/X86JITInfo.cpp
@@ -339,6 +339,8 @@ extern "C" {
/// must locate the start of the stub or call site and pass it into the JIT
/// compiler function.
extern "C" {
+LLVM_ATTRIBUTE_USED // Fix gcc -flto builds. gcc's LTO (as of 4.8.1) don't sees
+ // references from inline asm.
LLVM_LIBRARY_VISIBILITY void LLVMX86CompilationCallback2(intptr_t *StackPtr,
intptr_t RetAddr) {
intptr_t *RetAddrL...
2013 Jun 12
0
[LLVMdev] [PATCH] gcc-4.8.1 -flto, error for visibility of LLVMX86CompilationCallback2?
...8cce..8acc220 100644
> --- a/lib/Target/X86/X86JITInfo.cpp
> +++ b/lib/Target/X86/X86JITInfo.cpp
> @@ -339,6 +339,8 @@ extern "C" {
> /// must locate the start of the stub or call site and pass it into the JIT
> /// compiler function.
> extern "C" {
> +LLVM_ATTRIBUTE_USED // Fix gcc -flto builds. gcc's LTO (as of 4.8.1) don't sees
> + // references from inline asm.
clang also doesn't see references from inline asm... I suggest you say:
LLVM_ATTRIBUTE_USED // referenced from inline asm.
Ciao, Duncan.
2014 Jan 15
2
[LLVMdev] [PATCH] Don't optimize out GDB JIT registrar
Wouldn't LLVM_ATTRIBUTE_USED be the correct thing here to prevent dead
stripping, if that's the problem?
On Wed, Jan 15, 2014 at 8:46 AM, Rafael EspĂndola <
rafael.espindola at gmail.com> wrote:
> LGTM. Do you have commit access?
>
> On 15 January 2014 00:27, Andrew MacPherson <andrew.macp at gmail.c...
2012 Apr 02
2
[LLVMdev] TEXTREL usr/lib/llvm/libLLVM-3.0.so on PPC
...> I posted my result on the gentoo PR.
> https://bugs.gentoo.org/show_bug.cgi?id=403519#c12
> https://bugs.gentoo.org/show_bug.cgi?id=403519#c13
> https://bugs.gentoo.org/show_bug.cgi?id=403519#c14
I commented there. You need to declare function like
extern "C" {
static void* LLVM_ATTRIBUTE_USED
PPCCompilationCallbackC
<everything else goes here>
};
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
2012 Mar 30
2
[LLVMdev] TEXTREL usr/lib/llvm/libLLVM-3.0.so on PPC
Hi,
> The patch in PR is wrong since it will make both darwin and windows
> unhappy. I will comment on gentoo PR about possible proper solution.
I'll give it a try as you comment on the gentoo PR.
But my ppc box is in my office, so I'll post a result on next Monday (JST).
Thanks,
2012 Apr 02
0
[LLVMdev] TEXTREL usr/lib/llvm/libLLVM-3.0.so on PPC
Hi,
>> The patch in PR is wrong since it will make both darwin and windows
>> unhappy. I will comment on gentoo PR about possible proper solution.
>
> I'll give it a try as you comment on the gentoo PR.
> But my ppc box is in my office, so I'll post a result on next Monday (JST).
I posted my result on the gentoo PR.
https://bugs.gentoo.org/show_bug.cgi?id=403519#c12
2012 Apr 03
0
[LLVMdev] TEXTREL usr/lib/llvm/libLLVM-3.0.so on PPC
Hi,
> You need to declare function like
>
> extern "C" {
> static void* LLVM_ATTRIBUTE_USED
> PPCCompilationCallbackC
> <everything else goes here>
> };
revised patch is filed and it works fine.
https://bugs.gentoo.org/show_bug.cgi?id=403519#c16
https://bugs.gentoo.org/show_bug.cgi?id=403519#c17
so now this revised patch can be merged into ToT?
Thanks,
2014 Jan 15
3
[LLVMdev] [PATCH] Don't optimize out GDB JIT registrar
Hi Rafael, comment explanation added now. Thanks.
On Tue, Jan 14, 2014 at 8:31 PM, Rafael EspĂndola <
rafael.espindola at gmail.com> wrote:
> LGTM with a comment explaining the issue.
>
> On 20 December 2013 03:50, Andrew MacPherson <andrew.macp at gmail.com>
> wrote:
> > Thanks Joerg.
> >
> > I've made the change you suggested and verified that it