[cfe-dev] Clang tooling and cross compiled code bases
andrewmcgr at gmail.com
Sun Sep 9 17:43:19 PDT 2012
On 7/09/2012, at 8:57 PM, Manuel Klimek <klimek at google.com> wrote:
> On Fri, Sep 7, 2012 at 3:36 AM, Andrew McGregor <andrewmcgr at gmail.com> wrote:
>> I have an issue where I'm trying to use a libTooling based refactoring tool on a codebase that is intended for cross-compilation. I have hacked together means to create a compile_commands.json, but the tool is ignoring -triple and -internal-isystem and therefore getting the sizes of many basic types wrong since my compile host is 64 bit and the target isn't.
>> Is there a straightforward way of resolving this?
> I'd say: it's a bug :) Is there an easy way to reproduce this in a
> small example?
I'll try to construct one. Don't hold your breath, this is a background job.
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2330 bytes
Desc: not available
More information about the cfe-dev