[llvm] [RemoveDIs] Add flag to control loading into new debug mode from bitcode (PR #85649)

Carlos Alberto Enciso via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 19 02:11:30 PDT 2024


================
@@ -100,6 +100,13 @@ static cl::opt<bool> ExpandConstantExprs(
     cl::desc(
         "Expand constant expressions to instructions for testing purposes"));
 
+/// Load bitcode directly into RemoveDIs format (use debug records instead
+/// of debug intrinsics). UNSET is treated as FALSE, so the default action
+/// is to do nothing. Individual tools can override this to incrementally add
----------------
CarlosAlbertoEnciso wrote:

The 'UNSET' reference seems confusing. May be just add `cl::init(false)`.

https://github.com/llvm/llvm-project/pull/85649


More information about the llvm-commits mailing list