]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/GenFv/GenFvInternalLib.c
BaseTools: 64bit FSP FV map file cannot be created correctly
[mirror_edk2.git] / BaseTools / Source / C / GenFv / GenFvInternalLib.c
index d650a527a5af1eac220c70fdb28dd3833927e2c5..d28ac8f6eb77be8c813a38c1d6bd3ac714383693 100644 (file)
@@ -1004,7 +1004,7 @@ Returns:
       if (IsUseClang) {\r
         sscanf (Line, "%llx %s %s %s", &TempLongAddress, KeyWord, KeyWord2, FunctionTypeName);\r
         FunctionAddress = (UINT64) TempLongAddress;\r
-        if (FunctionTypeName [0] == '_' ) {\r
+        if (FunctionTypeName [0] != '/' && FunctionTypeName [0] != '.' && FunctionTypeName [1] != ':') {\r
           fprintf (FvMapFile, "  0x%010llx    ", (unsigned long long) (ImageBaseAddress + FunctionAddress - LinkTimeBaseAddress));\r
           fprintf (FvMapFile, "%s\n", FunctionTypeName);\r
         }\r