Displaying 20 results from an estimated 138 matches for "jeffords".
2010 May 06
2
[LLVMdev] Win32 COFF Support
On Wed, May 5, 2010 at 9:38 PM, Chris Lattner <clattner at apple.com> wrote:
> On May 5, 2010, at 6:44 PM, Nathan Jeffords wrote:
>
> ...
>> Thanks, applied in r103150! llvm-mc -filetype=obj probably needs a
>> similar patch.
>>
>>
> cool!, I will make that change and submit it too.
>
>
> Thanks!
>
>
After looking into this, I have found that AsmParser is hard coded to u...
2010 May 07
2
[LLVMdev] MCStreamer interface
On May 6, 2010, at 11:22 PM, Nathan Jeffords wrote:
> Thanks! Funny, I was just preparing a patch to submit for my changes to MCSectionCOFF. My changes look to be fairly independent of yours, my change was to deal with COMDAT's. I had dealt with the characteristics flags in the object writer, but I like this. If you don't mind I w...
2010 Sep 23
4
[LLVMdev] Visual Studio 2010 build warning & errors
On Thu, Sep 23, 2010 at 4:04 AM, Michael Spencer <bigcheesegs at gmail.com>wrote:
> On Thu, Sep 23, 2010 at 2:40 AM, Nathan Jeffords
> <blunted2night at gmail.com> wrote:
> > here are a couple of patches to address some warnings
> > in Microsoft compilers, and a build error in vs2010 in particular
> > vs2010-errors.patch:
> > In SelectionDAGISel, std::pairs or pointers are being constructed usin...
2010 May 07
0
[LLVMdev] MCStreamer interface
On Fri, May 7, 2010 at 12:05 AM, Chris Lattner <clattner at apple.com> wrote:
>
> On May 6, 2010, at 11:22 PM, Nathan Jeffords wrote:
>
> Thanks! Funny, I was just preparing a patch to submit for my changes to
> MCSectionCOFF. My changes look to be fairly independent of yours, my change
> was to deal with COMDAT's. I had dealt with the characteristics flags in the
> object writer, but I like this. If you...
2010 May 07
3
[LLVMdev] AsmPrinter behavior
I compile these two lines in llc
@tst1 = internal global [4 x i8] zeroinitializer;
@tst2 = internal global [4 x i8] [i8 0, i8 1, i8 2, i8 3];
@tst1 is emited via MCStreamer::EmitCommonSymbol
while the other is emited via MCStreamer::EmitLabel followed by
MCStreamer::EmitBytes
from what I can tell, only symbols with common linkage should me emitted
by MCStreamer::EmitCommonSymbol,
is this the
2010 May 07
1
[LLVMdev] AsmPrinter behavior
On May 7, 2010, at 12:39 AM, Nathan Jeffords wrote:
> On Fri, May 7, 2010 at 12:03 AM, Chris Lattner <clattner at apple.com> wrote:
>
> On May 6, 2010, at 10:01 PM, Nathan Jeffords wrote:
>
> > I compile these two lines in llc
> >
> > @tst1 = internal global [4 x i8] zeroinitializer;
> > @tst2 = int...
2010 Sep 25
0
[LLVMdev] Visual Studio 2010 build warning & errors
...? I just compiled a small test and it didn't work. The recommended
solution is:
(expression) != 0
http://msdn.microsoft.com/en-us/library/b6801kcy.aspx
It even says: Casting the expression to type bool will not disable the
warning, which is by design.
On Thu, Sep 23, 2010 at 9:18 AM, Nathan Jeffords <blunted2night at gmail.com>wrote:
>
>
> On Thu, Sep 23, 2010 at 4:04 AM, Michael Spencer <bigcheesegs at gmail.com>wrote:
>
>> On Thu, Sep 23, 2010 at 2:40 AM, Nathan Jeffords
>> <blunted2night at gmail.com> wrote:
>> > here are a couple of patch...
2010 May 07
3
[LLVMdev] MCStreamer interface
On Wed, 2010-05-05 at 13:22 -0700, Nathan Jeffords wrote:
>
> The important point here is that the COFF MCSection needs to
> have the right level of semantic information. In fact,
> MCSection is the place that I'd start for COFF bringup.
>
> OK, I see that now. The current isolation...
2010 Sep 25
2
[LLVMdev] Visual Studio 2010 build warning & errors
...;t work. The recommended
> solution is:
>
> (expression) != 0
>
> http://msdn.microsoft.com/en-us/library/b6801kcy.aspx
>
> It even says: Casting the expression to type bool will not disable the
> warning, which is by design.
>
> On Thu, Sep 23, 2010 at 9:18 AM, Nathan Jeffords <blunted2night at gmail.com>wrote:
>
>>
>>
>> On Thu, Sep 23, 2010 at 4:04 AM, Michael Spencer <bigcheesegs at gmail.com>wrote:
>>
>>> On Thu, Sep 23, 2010 at 2:40 AM, Nathan Jeffords
>>> <blunted2night at gmail.com> wrote:
>>>...
2010 Sep 26
2
[LLVMdev] Win32 COFF Support
On Sun, Sep 26, 2010 at 3:28 PM, Michael Spencer <bigcheesegs at gmail.com>wrote:
> On Sun, Sep 26, 2010 at 5:27 PM, Nathan Jeffords
> <blunted2night at gmail.com> wrote:
> > Hi guys,
> > While trying to get dwarf debugging information to work with Win32 COFF
> > targets, I came across a couple of issues with the current implementation
> > of WinCOFFObjectWriter. Emitting empty section causes deb...
2011 Jul 27
1
[LLVMdev] Proposal for better assertions in LLVM
Great suggestion - what should the !NDEBUG version look like?
On Tue, Jul 26, 2011 at 8:01 PM, Nathan Jeffords <blunted2night at gmail.com>wrote:
> sorry, my previous message got sent too early
>
> I think the macro should look something like this:
>
> #define ASSERT_STRM(cond,expr) \
> do {
> if (cond) {
> std::cerr << expr << std::end;
> assertion_t...
2010 Sep 27
0
[LLVMdev] Win32 COFF Support
On Sun, Sep 26, 2010 at 6:47 PM, Nathan Jeffords
<blunted2night at gmail.com> wrote:
> On Sun, Sep 26, 2010 at 3:28 PM, Michael Spencer <bigcheesegs at gmail.com>
> wrote:
>>
>> On Sun, Sep 26, 2010 at 5:27 PM, Nathan Jeffords
>> <blunted2night at gmail.com> wrote:
>> > Hi guys,
>> > Whi...
2011 Jul 27
0
[LLVMdev] Proposal for better assertions in LLVM
sorry, my previous message got sent too early
I think the macro should look something like this:
#define ASSERT_STRM(cond,expr) \
do {
if (cond) {
std::cerr << expr << std::end;
assertion_trap ();
}
} while (false)
On Tue, Jul 26, 2011 at 7:57 PM, Nathan Jeffords <blunted2night at gmail.com>wrote:
> wrapping the macro's body in:
>
> do { ... } while (false)
>
> would make the the macro a proper statement so that:
>
> if (cond)
> ASSERT(some_other_cond);
> else
> do_something_cool ();
>
> compiles as expecte...
2010 May 05
4
[LLVMdev] MCStreamer interface
On Wed, May 5, 2010 at 1:22 PM, Nathan Jeffords <blunted2night at gmail.com> wrote:
> I had a problem with MCStreamer::EmitCommonSymbol
> & MCStreamer::EmitLocalCommonSymbol. When I implemented them I assumed this
> meant to put those symbols into the .bss segment. This required me to get a
> hold of the TLOF from the strea...
2011 Jul 27
3
[LLVMdev] Proposal for better assertions in LLVM
wrapping the macro's body in:
do { ... } while (false)
would make the the macro a proper statement so that:
if (cond)
ASSERT(some_other_cond);
else
do_something_cool ();
compiles as expected.
IMO, it would work as such
#define ASSERT_STM(cond,expr)
On Tue, Jul 26, 2011 at 6:36 PM, Reid Kleckner <reid.kleckner at gmail.com>wrote:
> He wants to be able to resume execution
2010 May 28
0
[LLVMdev] Win32 COFF Support
For those that are interested, I have attached the latest version of my
Win32 COFF support patch. There is no new functionality, I just fixed some
compiler errors due to recent changes in the MC library.
- Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100527/23598d23/attachment.html>
2010 May 07
1
[LLVMdev] MCStreamer interface
On 7 May 2010 08:15, Nathan Jeffords <blunted2night at gmail.com> wrote:
>
>
> On Fri, May 7, 2010 at 12:05 AM, Chris Lattner <clattner at apple.com> wrote:
>
>>
>> On May 6, 2010, at 11:22 PM, Nathan Jeffords wrote:
>>
>> Thanks! Funny, I was just preparing a patch to submit for my cha...
2010 May 05
3
[LLVMdev] MCStreamer interface
On May 4, 2010, at 11:03 AM, Nathan Jeffords wrote:
> This is a brain-dump of my thoughts on the MCStreamer interface after several
> days of digging around trying to get a COFF writer working.
Great! Something that is worth pointing out is that the MCStreamer API is intended to directly reflect what is happening in .s files. We basi...
2010 May 07
2
[LLVMdev] AsmPrinter behavior
On May 7, 2010, at 11:42 AM, Nathan Jeffords wrote:
>> $ llc t.ll -o - -mtriple=i386-apple-darwin10
>> .section __TEXT,__text,regular,pure_instructions
>> .zerofill __DATA,__bss,_tst1,4,0 ## @tst1
>> .section __DATA,__data
>> _tst2: ## @tst2
>> .ascii "\000\...
2010 May 05
0
[LLVMdev] MCStreamer interface
On Wed, May 5, 2010 at 11:15 AM, Chris Lattner <clattner at apple.com> wrote:
> On May 4, 2010, at 11:03 AM, Nathan Jeffords wrote:
> ... We basically want one MCStreamer callback to correspond to one
> statement in the .s file. This makes it easier to handle from the compiler
> standpoint, but is also very important for the llvm-mc assembly parser
> itself.
>
> This is an assumption I question. From...