tejohnson accepted this revision. tejohnson added a comment. This revision is now accepted and ready to land.
lgtm with a couple of minor suggestions ================ Comment at: clang/lib/Driver/ToolChains/Clang.cpp:4919 if (Triple.isX86() && Triple.isOSBinFormatELF()) { if (A->getOption().matches(options::OPT_fsplit_machine_functions)) { A->render(Args, CmdArgs); ---------------- nit, remove braces per coding convention. ================ Comment at: clang/test/Driver/fsplit-machine-functions.c:3 // RUN: %clang -### -target x86_64 -fprofile-use=default.profdata -fsplit-machine-functions -fno-split-machine-functions %s -c 2>&1 | FileCheck -check-prefix=CHECK-NOOPT %s -// RUN: %clang -### -target x86_64 -fsplit-machine-functions %s 2>&1 | FileCheck -check-prefix=CHECK-WARN %s // RUN: not %clang -c -target arm-unknown-linux -fsplit-machine-functions %s 2>&1 | FileCheck -check-prefix=CHECK-TRIPLE %s ---------------- Might want to check that we get the option despite not having fprofile-use Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D87943/new/ https://reviews.llvm.org/D87943 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits