[llvm-bugs] [Bug 42131] New: Clang analyzer plugin was compiled with version "(null)"

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jun 4 22:42:02 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42131

            Bug ID: 42131
           Summary: Clang analyzer plugin was compiled with version
                    "(null)"
           Product: clang
           Version: 8.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: renat at idrisov.info
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

Hi All,
I have an analysis plugin, it used to work with llvm-7. I just updated to
llvm-8.0.0 and changed plugin registration method, but when I try to load it in
a following way:

```
clang -cc1 -analyze -load ./MyPlugin.so -analyzer-checker=alpha.MyCheck
../test/test1.c
```

I get the following message:

```
warning: checker plugin 'MyPlugin.so' is not compatible with this version of
the analyzer
note: current API version is '8.0.0', but plugin was compiled with version
'(null)'
```

could you please point to a place where I can change version '(null)' to
something meaningful

Thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190605/059892be/attachment.html>


More information about the llvm-bugs mailing list