[cfe-dev] Clang 3.3: --analyze produces object file full of XML (plist)

Jeffrey Walton noloader at gmail.com
Sun Sep 22 23:00:33 PDT 2013


On Sun, Sep 22, 2013 at 3:13 PM, Jeffrey Walton <noloader at gmail.com> wrote:
> On Sun, Sep 22, 2013 at 3:01 PM, Jeffrey Walton <noloader at gmail.com> wrote:
>>
>> I'm seeing some odd behavior with trying to build libevent under Clang
>> 3.3. Its an auto tools project, but I have things narrowed down to a
>> clang invocation with and without the --analyze option.
>>
>> I'm seeing the issue on Mac OS X 10.8.5 (x64) (fully patched) and
>> Ubuntu 12.10 (x64) (fully patched).
> My bad... if anyone is interested in trying to reproduce...
This is even easier to duplicate:

$ touch event.c
...
$ cat event.c
#include <stdio.h>
int main(int argc, char* argv[]) {

    return !argc;
}

$ /usr/local/bin/clang --analyze event.c -o event.exe
$ file event.exe
event.exe: XML document text
$



More information about the cfe-dev mailing list