Fix LLVM 12 symbol conflict with Mesa drivers, after recent Linux libs update

This commit is contained in:
Brecht Van Lommel
2021-07-27 17:37:59 +02:00
parent f4abd3cfc4
commit c6ba7359ae

View File

@@ -74,21 +74,55 @@ local:
*YAML*; *YAML*;
/* LLVM symbols not in the LLVM namespace that can conflict with LLVM usage /* LLVM symbols not in the LLVM namespace that can conflict with LLVM usage
* in OpenGL and OpenCL drivers. */ * in OpenGL and OpenCL drivers.
*
* These are found by doing a Blender build with and without OSL, and
* comparing the output of nm -gD ./bin/blender to find symbols. */
AlwaysSpillBase;
AsmMacroMaxNestingDepth;
AttributorRun;
CheckBFIUnknownBlockQueries;
*cloneBitwiseIVUser*;
*computeHostNumHardwareThread*;
*computeHostNumPhysicalCores*;
decodeInstruction; decodeInstruction;
DisableBasicAA;
DisablePreInliner;
DisableWholeProgramVisibility;
EnableCHR;
EnableConstraintElimination;
EnableGVNHoist;
EnableGVNSink;
EnableHotColdSplit; EnableHotColdSplit;
EnableIPRA; EnableIPRA;
EnableIROutliner;
EnableKnowledgeRetention;
EnableLoopFlatten;
EnableMatrix;
EnableOrderFileInstrumentation; EnableOrderFileInstrumentation;
EnablePGSO;
EnableUnrollAndJam;
EnableVPlanNativePath; EnableVPlanNativePath;
EnableVPlanPredication; EnableVPlanPredication;
ExtraVectorizerPasses;
FlattenedProfileUsed; FlattenedProfileUsed;
ForcePGSO;
ForceStackAlign; ForceStackAlign;
ForceSummaryEdgesCold; ForceSummaryEdgesCold;
FSEC; FSEC;
*getExtendedOperandRecurrence*;
*getWideRecurrence*;
InlinerFunctionImportStats;
*IROutlinerLegacyPass*;
__jit_debug_descriptor; __jit_debug_descriptor;
__jit_debug_register_code; __jit_debug_register_code;
_Jv_RegisterClasses; _Jv_RegisterClasses;
*LiveDebugValues*;
*LoopInterchangeLegacyPass*;
MachineRegionInfoPassID; MachineRegionInfoPassID;
MaxDevirtIterations;
MaxRegistersForGCPointers;
MemOPOptMemcmpBcmp;
MemOPSizeLarge; MemOPSizeLarge;
MemOPSizeRange; MemOPSizeRange;
MISchedPostRA; MISchedPostRA;
@@ -97,18 +131,40 @@ local:
Name; Name;
NumNamedVarArgParams; NumNamedVarArgParams;
PGOViewCounts; PGOViewCounts;
PGSOColdCodeOnly;
PGSOColdCodeOnlyForInstrPGO;
PGSOColdCodeOnlyForPartialSamplePGO;
PGSOColdCodeOnlyForSamplePGO;
PgsoCutoffInstrProf;
PgsoCutoffSampleProf;
PGSOLargeWorkingSetSizeOnly;
PreInlineThreshold;
PrintBlockFreqFuncName; PrintBlockFreqFuncName;
PrintBranchProbFuncName; PrintBranchProbFuncName;
ProfileLikelyProb; ProfileLikelyProb;
RunNewGVN;
RunPartialInlining;
RunSLPVectorization;
ScalePartialSampleProfileWorkingSetSize;
*ScopedAliasMetadataDeepCloner*;
ShouldPreserveAllAttributes;
SkipFunctionNames;
StartAfterOptName; StartAfterOptName;
StartBeforeOptName; StartBeforeOptName;
StaticLikelyProb; StaticLikelyProb;
StopAfterOptName; StopAfterOptName;
StopBeforeOptName; StopBeforeOptName;
UseContextLessSummary;
UseDbgAddr; UseDbgAddr;
UseLEB128Directives;
UseRegistersForDeoptValues;
UseRegistersForGCPointersInLandingPad;
ViewBlockFreqFuncName; ViewBlockFreqFuncName;
ViewBlockLayoutWithBFI; ViewBlockLayoutWithBFI;
ViewHotFreqPercent; ViewHotFreqPercent;
WholeProgramVisibility;
*widenLoopCompare*;
*widenWithVariant*;
WriteRelBFToSummary; WriteRelBFToSummary;
X86CompilationCallback*; X86CompilationCallback*;
}; };