File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,26 @@ updated to use LLJIT.
110
110
MCJIT and ExecutionEngine continue to be supported, though ORC should be
111
111
preferred for new projects.
112
112
113
+ Changes to the C++ APIs
114
+ -----------------------
115
+
116
+ Three of the IR library methods related to debugging information for
117
+ functions and methods have changed their prototypes:
118
+
119
+ DIBuilder::createMethod
120
+ DIBuilder::createFunction
121
+ DIBuilder::createTempFunctionFwdDecl
122
+
123
+ In all cases, several individual parameters were removed, and replaced
124
+ by a single 'SPFlags' (subprogram flags) parameter. The individual
125
+ parameters are: 'isLocalToUnit'; 'isDefinition'; 'isOptimized'; and
126
+ for 'createMethod', 'Virtuality'. The new 'SPFlags' parameter has a
127
+ default value equivalent to passing 'false' for the three 'bool'
128
+ parameters, and zero (non-virtual) to the 'Virtuality' parameter. For
129
+ any old-style API call that passed 'true' or a non-zero virtuality to
130
+ these methods, you will need to substitute the correct 'SPFlags' value.
131
+ The helper method 'DISubprogram::toSPFlags()' might be useful in making
132
+ this conversion.
113
133
114
134
Changes to the AArch64 Target
115
135
-----------------------------
You can’t perform that action at this time.
0 commit comments