On Mon, Oct 20, 2014 at 10:47 AM, Erik Rose <[email protected]> wrote:
>> The only problems specific to DXR so far have been:
>>
>> * "_csv.Error: field larger than field limit (131072)" after build. I
>> am testing to see if "csv.field_size_limit(sys.maxsize)" in
>> clang/indexer.py helps
>
>
> Wow, I wonder what was in that field.

(per IRC) so that did help, and I uploaded the CSV to a github gist:
https://gist.github.com/rhelmer/c3a2a2defcdb98ed2152

So is this just an insane type? I am not sure if it's a bug... do you
want a patch
to bump up the CSV field_size_limit? Maybe a compromise would be to make
it configurable...


>> * compiling LLVM doesn't seem to work, I am just skipping it for now
>> but as it's part of the BSD base system I'd like to get it indexed and
>> analyzed along with everything else. It fails on
>> llvm/tools/clang/lib/Lex/ModuleMap.cpp with "clang: error: unable to
>> execute command: Illegal instruction (core dumped)" - I saved the code
>> and clang command-line used, and the same clang invocation works fine
>> if I remove the DXR-added flags.
>
>
> Sounds like you found a legitimate bug in our clang plugin. It must be a
> real corner case if you got through all that FreeBSD code without hitting
> it. gdb time, perhaps.


Yep, good times :P
_______________________________________________
dev-static-analysis mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-static-analysis

Reply via email to