[llvm-branch-commits] [llvm] 248b279 - [NFC] Fix a gcc build break by using an explict constructor.

Hongtao Yu via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Dec 10 11:29:08 PST 2020


Author: Hongtao Yu
Date: 2020-12-10T11:21:40-08:00
New Revision: 248b279cf04d9e439a1e426ffd24f2dfa93d02f8

URL: https://github.com/llvm/llvm-project/commit/248b279cf04d9e439a1e426ffd24f2dfa93d02f8
DIFF: https://github.com/llvm/llvm-project/commit/248b279cf04d9e439a1e426ffd24f2dfa93d02f8.diff

LOG: [NFC] Fix a gcc build break by using an explict constructor.

Added: 
    

Modified: 
    llvm/lib/MC/MCParser/AsmParser.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/MC/MCParser/AsmParser.cpp b/llvm/lib/MC/MCParser/AsmParser.cpp
index bf2e5d8b41d4..bf50a95bc70c 100644
--- a/llvm/lib/MC/MCParser/AsmParser.cpp
+++ b/llvm/lib/MC/MCParser/AsmParser.cpp
@@ -5833,7 +5833,7 @@ bool AsmParser::parseDirectivePseudoProbe() {
         return true;
     }
 
-    InlineSite Site = {CallerGuid, CallerProbeId};
+    InlineSite Site(CallerGuid, CallerProbeId);
     InlineStack.push_back(Site);
   }
 


        


More information about the llvm-branch-commits mailing list