scan-build and multiple -arch flag

hi all,

i’m in a rewrite of scan-build in python. and reading the original perl code… where the ‘ccc-analyzer’ (@ line 490 and 716) does prepare for multiple ‘-arch’ flags.

i’m trying to understand this. what is a use case when users call Clang with multiple -arch flags at compile time? the analyzer can’t handle that, that’s why line 716 does a for loop there. so, if it’s make no sense for analyzer, does it for the compiler? or prepocessor? or the linker?

thanks for any help!

regards,
Laszlo