llvm: Add helper function for checking modules
llvm: Add helper function for checking modules

This will be used in a later patch.

thiblahute/meson,MathieuDuponchelle/meson,ernestask/meson,jpakkane/meson,pexip/meson,becm/meson,becm/meson,jeandet/meson,jpakkane/meson,becm/meson,jpakkane/meson,jpakkane/meson,thiblahute/meson,MathieuDuponchelle/meson,MathieuDuponchelle/meson,trhd/meson,pexip/meson,MathieuDuponchelle/meson,mesonbuild/meson,MathieuDuponchelle/meson,trhd/meson,thiblahute/meson,trhd/meson,pexip/meson,becm/meson,ernestask/meson,ernestask/meson,pexip/meson,pexip/meson,jeandet/meson,thiblahute/meson,becm/meson,trhd/meson,jpakkane/meson,thiblahute/meson,jeandet/meson,MathieuDuponchelle/meson,ernestask/meson,mesonbuild/meson,mesonbuild/meson,QuLogic/meson,mesonbuild/meson,mesonbuild/meson,thiblahute/meson,jpakkane/meson,pexip/meson,jeandet/meson,jpakkane/meson,thiblahute/meson,trhd/meson,jeandet/meson,ernestask/meson,mesonbuild/meson,mesonbuild/meson,becm/meson,trhd/meson,mesonbuild/meson,trhd/meson,ernestask/meson,QuLogic/meson,trhd/meson,jpakkane/meson,mesonbuild/meson,ernestask/meson,MathieuDuponchelle/meson,becm/meson,MathieuDuponchelle/meson,thiblahute/meson,QuLogic/meson,trhd/meson,becm/meson,QuLogic/meson,thiblahute/meson,QuLogic/meson,ernestask/meson,MathieuDuponchelle/meson,pexip/meson,becm/meson,jpakkane/meson,mesonbuild/meson,jeandet/meson,pexip/meson,ernestask/meson,jeandet/meson,QuLogic/meson,pexip/meson,jeandet/meson,QuLogic/meson,QuLogic/meson,QuLogic/meson,pexip/meson,becm/meson,jeandet/meson