lldb-server returning wrong triple

Hi folks,

We are seeing lldb-server (arm/android) return an incorrect triple (i386--linux-android) when we connect to it as a platform (via $qHostInfo packet).
There doesn't seem to be any obvious problems with the generated llvm-config.h as all the triples are set to "arm-unknown-linux-android".
We noticed this problem as it is stopping lldb from properly resolving the target executable and downloading dependent modules.

I was wondering if there are any gotchas that we might be falling into.

We will keep looking at this, but I wondered if others on the list have seen anything similar.


The issue seems to have been a build problem caused by a stale CMake cache and the triple is now being sent correctly after a full rebuild.