On Sun, Jul 07 2019, Jonathan Gray <[email protected]> wrote: > On Sat, Jul 06, 2019 at 05:19:57PM +0200, Jeremie Courreges-Anglas wrote:
[...] >> Tentative fix for include-what-you-use on powerpc. > > I'm ok with this though the targets being different on powerpc is > annoying. Does building the X86 and PowerPC targets without the rest > still fit while dropping the rest? Well, llvm on powerpc will still be different even if we enable the X86 backend. I guess adding such support would be doable, but it's also going to make things a tad uglier. I wonder whether the build system of include-what-you-use could detect whether this X86 backend is available. Also I wonder why the affected function calls are x86-specific. Why wouldn't other backends have a need to be initialized? Anyway, I have committed this workaround for now, thanks cwen@ for the tests. -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
