Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] RFC: Darwin EH Patch"
2007 Sep 11
0
[LLVMdev] RFC: Darwin EH Patch
Hi Anton,
>> It's not exactly tweaking magic knobs. It's doing something that's
>> already done -- putting the information in the TAI object, and
>> allowing the specific back-end to set the appropriate strings.
> It seems to me, that simple strings / bools there are not enough :)
> "$non_lazy_ptr" emission is already in asm printers (in 2 places!).
2007 Sep 11
1
[LLVMdev] RFC: Darwin EH Patch
Hello, Bill
> Comments?
I don't personally like this patch. It seems, that emitted data encoding
is linker (=subtarget) specific. For example, gcc uses three different
data encodings to emit dwarf data on darwin.
I think we should introduce subtarget hooks for encoding selection of
data being emitted (there is already one: needSet / *AbsoluteOffsets
etc). Also "generic" function
2007 Sep 11
0
[LLVMdev] RFC: Darwin EH Patch
Hi all,
Here's a proposed patch for exception handling on Darwin. Basically,
it spits out a global stub for the personality functions, and uses
this:
.long L____gxx_personality_v0$non_lazy_ptr-.
instead of doing ".set ..." magic.
Comments?
-bw
2010 Oct 10
1
[LLVMdev] More questions about non_lazy_ptr
I have a problem where my LLVM-generated code works on Linux but not on OS
X, and the problem involves non_lazy_ptr.
I have an external symbol named "@gc_safepoint_map", which is generated by
the linker's GCStrategy plugin. Since it is not generated until link time, I
declared it as an external symbol so that the modules that use it can
compile without error.
Here's what the
2009 Jun 21
4
[LLVMdev] proposal to simplify isel/asmprinter interaction with globals
Hi All,
I'm working on various cleanups and simplifications to the
asmprinters. One thing that is driving me nuts is that the
asmprinters currently "reverse engineer" a lot of information when
printing an operand that isel had when it created it.
I'm specifically talking about all the suffixes generated by isel,
like $non_lazy_ptr, @TLSGD, @NTPOFF, (%rip) etc. These
2011 Oct 18
1
[LLVMdev] Building LLVM on PPC
Please don't be alarmed by the failed compiles on llvm-ppc-darwin. They are likely not your fault.
I'm trying to get a PPC build bot setup (arxan_bellini), and so far it's dying here:
Linking CXX shared library ../../lib/libgtest.dylib
Undefined symbols:
"vtable for llvm::raw_ostream", referenced from:
__ZTVN4llvm11raw_ostreamE$non_lazy_ptr in gtest.cc.o
2010 Aug 24
1
[LLVMdev] non_lazy_ptr question
So, I've got a case where I am attempting to pass the address of a static
symbol from a module written in Tart (the language I am working on), to a
module written in C (which is part of Tart's runtime library). This works
fine on Linux, but fails on OS X because the address being passed is the
"non_lazy_ptr" symbol, not the symbol itself.
In my .bc file, I've got code that
2009 Jun 11
0
[LLVMdev] patch for llc/ARM: added mechanism to move switch tables from .text -> .data; also cleanup and documentation
On Jun 8, 2009, at 2:42 PM, robert muth wrote:
> On Sun, Jun 7, 2009 at 11:53 PM, Evan Cheng <evan.cheng at apple.com>
> wrote:
>>
>> On Jun 7, 2009, at 6:59 AM, robert muth wrote:
>>
>>> On Sat, Jun 6, 2009 at 4:51 PM, Evan Cheng<evan.cheng at apple.com>
>>> wrote:
>>>> +cl::opt<std::string>
2008 May 17
1
[LLVMdev] Assembling the output of llc
Here's a more specific question about compiling native code: When I use
llc to generate a .s file, and then I try to assemble it using 'as', I
get tons of errors - it appears to be choking on lines like the following:
movl
L"_tart.core.Iterable<tart.core.String>:type"$non_lazy_ptr, %eax
The error I get is:
2008 May 19
1
[LLVMdev] Assembling the output of llc
On May 18, 2008, at 11:51 PM, Talin wrote:
> Anton Korobeynikov wrote:
>> Hello Talin,
>>
>>> Yes exactly. I'm on OS X (x86), and I'm not specifying a target - I
>>> assumed that it would choose sensible defaults...
>>>
>> Could you please provide a .bc testcase? There can be multiple
>> issues,
>> but at the first glance it
2009 Jun 08
2
[LLVMdev] patch for llc/ARM: added mechanism to move switch tables from .text -> .data; also cleanup and documentation
On Sun, Jun 7, 2009 at 11:53 PM, Evan Cheng <evan.cheng at apple.com> wrote:
>
> On Jun 7, 2009, at 6:59 AM, robert muth wrote:
>
>> On Sat, Jun 6, 2009 at 4:51 PM, Evan Cheng<evan.cheng at apple.com>
>> wrote:
>>> +cl::opt<std::string> FlagJumpTableSection("jumptable-section",
>>> +
2008 Nov 23
2
[LLVMdev] RFC: Mangling Unnamed Global Values
Hi all,
Right now the Mangler::getValueName() method will produce something
like "__unnamed_1_37" for a global value that doesn't have a name.
This is wrong for Objective-C where CFStrings will get these labels,
thus preventing the linker from coalescing them.
[/tmp]> nm -s __DATA __cfstring -m foo.o
00000000000244d0 (__DATA,__cfstring) non-external __unnamed_1_0
2009 Jan 02
2
[LLVMdev] link problem with llvm-pass
Hi,
I tried to implement an 'llc'-like tool in my project to manage
different passes and a target machine.
I use given llvm project structure to avoid problems but I have a link
problem and don't know how to solve it:
The target machine uses 'FindUsedTypes' pass and when I try to use my
target machine in the tool I got "Undefined symbols:
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,
2008 Mar 23
1
[LLVMdev] a quick typo in the ARM LLVM backend
So, a while back I got a compile error where the assembly was missing some whitespace between a .set and the identifier and tracked it down to this simple mistake that I just verified is still in the tree:
Index: lib/Target/ARM/ARMTargetAsmInfo.cpp
===================================================================
--- lib/Target/ARM/ARMTargetAsmInfo.cpp (revision 48700)
+++
2008 Nov 24
0
[LLVMdev] RFC: Mangling Unnamed Global Values
Can symbols with external linkage but no name be converted
to have internal linkage? Would that solve the problem?
Dan
On Nov 23, 2008, at 2:15 AM, Bill Wendling wrote:
> Hi all,
>
> Right now the Mangler::getValueName() method will produce something
> like "__unnamed_1_37" for a global value that doesn't have a name.
> This is wrong for Objective-C where CFStrings
2009 Jan 04
0
[LLVMdev] link problem with llvm-pass
Dear Nico,
I believe you need to add LLVMipa to the list of libraries to link into
your tool. FindUsedTypes::ID is defined in lib/Analysis/IPA.
I think it would be LLVMipa.a if you added it to LLVMLIBS and ipa if you
added it to LINK_COMPONENTS.
-- John T.
Nico wrote:
> Hi,
>
> I tried to implement an 'llc'-like tool in my project to manage
> different passes and a
2004 May 09
0
[LLVMdev] Testing LLVM on OS X
On Tue, 4 May 2004, Chris Lattner wrote:
> On Tue, 4 May 2004, Chris Lattner wrote:
> > I suspect that a large reason that LLVM does worst than a native C
> > compiler with the CBE+GCC is that LLVM generates very low-level C code,
> > and I'm not convinced that GCC is doing a very good job (ie, without
> > syntactic loops).
>
> Yup, this is EXACTLY what is
2011 May 13
2
[LLVMdev] Difficulty compiling LLVM-based tools with clang
I recently modified my compiler's build files to use clang if it detects its
available, however I'm running into a number of problems with this. I'm
having one set of problems on OS X, and a different set of problems under
Ubuntu.
In both cases I'm attempting to link my frontend - compiled with clang -
against the LLVM libraries - compiled with gcc. (I thought about compiling
LLVM
2009 Jun 03
5
[LLVMdev] patch for llc/ARM: added mechanism to move switch tables from .text -> .data; also cleanup and documentation
Hi:
This is my first patch submission. Hopefully, this is the proper the protocol.
Attached is a patch for the llc ARM backend:
Added mechanism to generate switch table in a data section
rather than having it interleaved with the code.
This is controlled by command line flags and off by default.
Also, tried to document and improve the code where I modified it.
Robert
-------------- next part