[LLVMdev] DebugFactory

Devang Patel devang.patel at gmail.com
Mon Oct 12 10:32:32 PDT 2009


On Fri, Oct 9, 2009 at 8:58 PM, Talin <viridia at gmail.com> wrote:
> The old patch works, it's just that when you pass "0, 0, 0" for size, align
> and offset the compiler can't decide which method to call since "0" can be
> either a pointer or an integer.
>
> I can produce a new patch if you like, but I'm having trouble thinking of
> good names for the new methods. Alternatively, I suppose we could re-arrange
> the order of the parameters slightly to make the overloaded methods
> unambiguous.
>
> I'd like to hear what you think before proceeding any further. I do want to
> get this in, though, as it has been very useful to my work.
>

How about you pass reference of Constant instead of pointer to Constant ?
-
Devang



More information about the llvm-dev mailing list