I am applying it, but I'm seriously puzzled by the clgi one. Can you open a bug on LLVM? Paolo
The clgi change does not appear to be needed. - "clgi \n\t" + "clgi;\n\t" clang 7.0.0, 8.0.0 (downloaded from releases.llvm.org) and HEAD (built from source) compile "clgi" fine. % ~/ccls/build/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04/bin/clang -mno-red-zone -mno-sse -mno-sse2 -m64 -O1 -g -MMD -MF x86/.emulator.d -Wall -Wwrite-strings -Wempty-body -Wuninitialized -Wignored-qualifiers -fno-omit-frame-pointer -fno-pic -Woverride-init -Wmissing-prototypes -Wstrict-prototypes -std=gnu99 -ffreestanding -I /tmp/p/kvm-unit-tests/lib -I /tmp/p/kvm-unit-tests/lib/x86 -I lib -c -o x86/svm.o x86/svm.c -w # succeeded