ninja: Entering directory `out/gn'
[0/1] Regenerating ninja files
[1/990] CXX obj/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.ResourcePriorityQueue.o
[2/990] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.MachineIRBuilder.o
[3/990] CXX obj/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.ScheduleDAGFast.o
[4/990] CXX obj/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.FunctionLoweringInfo.o
[5/990] CXX obj/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.InstrEmitter.o
[6/990] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.Utils.o
[7/990] CXX obj/llvm/lib/CodeGen/MIRParser/MIRParser.MIParser.o
[8/990] CXX obj/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.FastISel.o
[9/990] CXX obj/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.ScheduleDAGVLIW.o
[10/990] CXX obj/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.ScheduleDAGRRList.o
[11/990] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.LegalizerHelper.o
[12/990] CXX obj/llvm/lib/CodeGen/CodeGen.MachineSSAUpdater.o
[13/990] CXX obj/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.SelectionDAGDumper.o
[14/990] CXX obj/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.ScheduleDAGSDNodes.o
[15/990] CXX obj/bolt/unittests/Core/CoreTests.MCPlusBuilder.o
[16/990] CXX obj/llvm/lib/CodeGen/CodeGen.MachineUniformityAnalysis.o
[17/990] CXX obj/llvm/lib/CodeGen/CodeGen.MacroFusion.o
[18/990] CXX obj/llvm/lib/CodeGen/CodeGen.PatchableFunction.o
[19/990] CXX obj/llvm/lib/CodeGen/CodeGen.PHIElimination.o
[20/990] CXX obj/llvm/lib/CodeGen/CodeGen.MachineScheduler.o
[21/990] CXX obj/llvm/lib/CodeGen/CodeGen.PostRAHazardRecognizer.o
[22/990] CXX obj/llvm/lib/CodeGen/CodeGen.MachineSink.o
[23/990] CXX obj/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.SelectionDAGISel.o
[24/990] CXX obj/llvm/lib/CodeGen/CodeGen.ModuloSchedule.o
[25/990] CXX obj/llvm/lib/CodeGen/CodeGen.ProcessImplicitDefs.o
[26/990] CXX obj/llvm/lib/CodeGen/CodeGen.PeepholeOptimizer.o
[27/990] CXX obj/llvm/lib/CodeGen/CodeGen.PostRASchedulerList.o
[28/990] CXX obj/llvm/lib/CodeGen/CodeGen.PseudoProbeInserter.o
[29/990] CXX obj/llvm/lib/CodeGen/CodeGen.MachineVerifier.o
[30/990] CXX obj/llvm/lib/CodeGen/CodeGen.ReachingDefAnalysis.o
[31/990] CXX obj/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.SelectionDAGBuilder.o
[32/990] CXX obj/llvm/lib/CodeGen/CodeGen.RegAllocScore.o
[33/990] CXX obj/llvm/lib/CodeGen/CodeGen.PrologEpilogInserter.o
[34/990] CXX obj/llvm/lib/CodeGen/CodeGen.RegisterScavenging.o
[35/990] CXX obj/llvm/lib/CodeGen/CodeGen.RDFGraph.o
[36/990] CXX obj/llvm/lib/CodeGen/CodeGen.RegAllocFast.o
[37/990] CXX obj/llvm/lib/CodeGen/CodeGen.RenameIndependentSubregs.o
[38/990] CXX obj/llvm/lib/CodeGen/CodeGen.ScoreboardHazardRecognizer.o
[39/990] CXX obj/llvm/lib/CodeGen/CodeGen.ScheduleDAG.o
[40/990] CXX obj/llvm/lib/CodeGen/CodeGen.RegAllocGreedy.o
[41/990] CXX obj/llvm/lib/CodeGen/CodeGen.ShrinkWrap.o
[42/990] CXX obj/llvm/lib/CodeGen/CodeGen.RegisterCoalescer.o
[43/990] CXX obj/llvm/lib/CodeGen/CodeGen.ScheduleDAGInstrs.o
[44/990] CXX obj/llvm/lib/CodeGen/CodeGen.TailDuplication.o
[45/990] CXX obj/llvm/lib/CodeGen/CodeGen.SwiftErrorValueTracking.o
[46/990] CXX obj/llvm/lib/CodeGen/CodeGen.StackSlotColoring.o
[47/990] CXX obj/llvm/lib/CodeGen/CodeGen.SplitKit.o
[48/990] CXX obj/llvm/lib/CodeGen/CodeGen.TailDuplicator.o
[49/990] CXX obj/llvm/lib/CodeGen/CodeGen.TargetInstrInfo.o
FAILED: obj/llvm/lib/CodeGen/CodeGen.TargetInstrInfo.o 
../../chromeclang/bin/clang++ -MMD -MF obj/llvm/lib/CodeGen/CodeGen.TargetInstrInfo.o.d -o obj/llvm/lib/CodeGen/CodeGen.TargetInstrInfo.o -c ../../llvm/lib/CodeGen/TargetInstrInfo.cpp  -I../../llvm/include -Igen/llvm/include -Igen/llvm/include/llvm/CodeGen -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -arch arm64 -isysroot ../../sysroot/MacOSX.sdk -mmacos-version-min=12 -mmacos-version-min=12 -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -isysroot ../../sysroot/MacOSX.sdk -Wpoison-system-directories -fPIC -Wcovered-switch-default -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti
../../llvm/lib/CodeGen/TargetInstrInfo.cpp:1514:29: error: non-const lvalue reference to type 'DenseMap<unsigned int, [...]>' cannot bind to a value of unrelated type 'DenseMap<Register, [...]>'
                            InstIdxForVirtReg, Root.getOperand(0).getReg());
                            ^~~~~~~~~~~~~~~~~
../../llvm/lib/CodeGen/TargetInstrInfo.cpp:1021:35: note: passing argument to parameter 'InstrIdxForVirtReg' here
    DenseMap<unsigned, unsigned> &InstrIdxForVirtReg,
                                  ^
1 error generated.
[50/990] CXX obj/llvm/lib/CodeGen/CodeGen.TargetSchedule.o
[51/990] CXX obj/llvm/lib/CodeGen/CodeGen.TargetRegisterInfo.o
[52/990] CXX obj/llvm/lib/CodeGen/CodeGen.UnreachableBlockElim.o
[53/990] CXX obj/llvm/lib/CodeGen/CodeGen.VirtRegMap.o
[54/990] CXX obj/llvm/lib/CodeGen/CodeGen.XRayInstrumentation.o
[55/990] CXX obj/llvm/lib/CodeGen/CodeGen.VLIWMachineScheduler.o
[56/990] CXX obj/llvm/lib/CodeGen/CodeGen.TwoAddressInstructionPass.o
[57/990] CXX obj/llvm/lib/CodeGen/CodeGen.WindowScheduler.o
[58/990] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.AsmPrinter.o
ninja: build stopped: subcommand failed.
Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.