Click or drag to resize
Llvm.NET LogoModuleFlagBehavior Enumeration

[This is preliminary documentation and is subject to change.]

Enumeration to indicate the behavior of module level flags metadata sharing the same name in a NativeModule

Namespace:  Llvm.NET
Assembly:  Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntax
C#
public enum ModuleFlagBehavior
Members
  Member nameValueDescription
Invalid0Invalid value (default value for this enumeration)
Error1Emits an error if two values disagree, otherwise the resulting value is that of the operands
Warning2Emits a warning if two values disagree. The result will be the operand for the flag from the first module being linked
Require3Adds a requirement that another module flag be present and have a specified value after linking is performed
Override4Uses the specified value, regardless of the behavior or value of the other module
Append5Appends the two values, which are required to be metadata nodes
AppendUnique6Appends the two values, which are required to be metadata nodes dropping duplicate entries in the second list
See Also