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.
110110MCJIT and ExecutionEngine continue to be supported, though ORC should be
111111preferred for new projects.
112112
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.
113133
114134Changes to the AArch64 Target
115135-----------------------------
You can’t perform that action at this time.
0 commit comments