[lldb-dev] Q: using lldb::addr_t and addr_t

Pawel Wodnicki root at 32bitmicro.com
Wed Jan 16 13:44:50 PST 2013


> This is usually due to a missing:
> 
> using namespace lldb;
> 
> at the top of the source file. If this is in a header file, then you will need to prefix the type with "lldb::".

OK, so just use the standard pattern with fully qualified
type in the header.

Do you care about cleaning lldb::addr_t in the implementation files?


> 
> Greg
> 
> On Jan 16, 2013, at 11:05 AM, Pawel Wodnicki <root at 32bitmicro.com> wrote:
> 
>> Hello,
>>
>> Quick question on using lldb::addr_t and addr_t.
>> I am getting compile errors due undefined addr_t.
>> The way to fix it seems simple, just change
>> all the addr_t to lldb::addr_t :-). But there is
>> a lot of the addr_t sprinkled around, so perhaps
>> I am simply missing add_t type definition.
>> Are these two types intended to be equivalent?
>>
>> Paweł
>>
>>
>>
>>
>>
>> _______________________________________________
>> lldb-dev mailing list
>> lldb-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
> 
> 
> 




More information about the lldb-dev mailing list