summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2019-06-11 03:07:31 +0000
committerTom Stellard <tstellar@redhat.com>2019-06-11 03:07:31 +0000
commit213f2edbe61b23ae15cb8a65ad4dc7b22ce874a6 (patch)
treee360e4784934c1d248cf485b467d7bffaa36fbdc
parent9a2cfaed4ebeb20583e86c0c41c4fa113d7a017c (diff)
downloadllvm-213f2edbe61b23ae15cb8a65ad4dc7b22ce874a6.tar.gz
Add release note for DIBuilder API changes
llvm-svn: 363027
-rw-r--r--llvm/docs/ReleaseNotes.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/llvm/docs/ReleaseNotes.rst b/llvm/docs/ReleaseNotes.rst
index 8209c08889ed..16121585d24f 100644
--- a/llvm/docs/ReleaseNotes.rst
+++ b/llvm/docs/ReleaseNotes.rst
@@ -110,6 +110,26 @@ updated to use LLJIT.
MCJIT and ExecutionEngine continue to be supported, though ORC should be
preferred for new projects.
+Changes to the C++ APIs
+-----------------------
+
+Three of the IR library methods related to debugging information for
+functions and methods have changed their prototypes:
+
+ DIBuilder::createMethod
+ DIBuilder::createFunction
+ DIBuilder::createTempFunctionFwdDecl
+
+In all cases, several individual parameters were removed, and replaced
+by a single 'SPFlags' (subprogram flags) parameter. The individual
+parameters are: 'isLocalToUnit'; 'isDefinition'; 'isOptimized'; and
+for 'createMethod', 'Virtuality'. The new 'SPFlags' parameter has a
+default value equivalent to passing 'false' for the three 'bool'
+parameters, and zero (non-virtual) to the 'Virtuality' parameter. For
+any old-style API call that passed 'true' or a non-zero virtuality to
+these methods, you will need to substitute the correct 'SPFlags' value.
+The helper method 'DISubprogram::toSPFlags()' might be useful in making
+this conversion.
Changes to the AArch64 Target
-----------------------------