From cfca06d7963fa0909f90483b42a6d7d194d01e08 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sun, 26 Jul 2020 19:36:28 +0000 Subject: Vendor import of llvm-project master 2e10b7a39b9, the last commit before the llvmorg-12-init tag, from which release/11.x was branched. --- llvm/lib/CodeGen/FEntryInserter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/FEntryInserter.cpp') diff --git a/llvm/lib/CodeGen/FEntryInserter.cpp b/llvm/lib/CodeGen/FEntryInserter.cpp index 4c0f30bce820..c2194929e2e7 100644 --- a/llvm/lib/CodeGen/FEntryInserter.cpp +++ b/llvm/lib/CodeGen/FEntryInserter.cpp @@ -35,8 +35,8 @@ struct FEntryInserter : public MachineFunctionPass { } bool FEntryInserter::runOnMachineFunction(MachineFunction &MF) { - const std::string FEntryName = - MF.getFunction().getFnAttribute("fentry-call").getValueAsString(); + const std::string FEntryName = std::string( + MF.getFunction().getFnAttribute("fentry-call").getValueAsString()); if (FEntryName != "true") return false; -- cgit v1.2.3