[llvm] [RemoveDIs][NFC] Fix rotten green C API test (PR #92362)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Thu May 16 03:30:25 PDT 2024


================
@@ -215,10 +215,26 @@ int llvm_test_dibuilder(bool NewDebugInfoFormat) {
 
   LLVMDIBuilderFinalize(DIB);
 
+  // In the new debug mode, debug records get attached to instructions.
----------------
OCHyams wrote:

I thought it'd be better to minimise the difference between the tests. Adding the instructions into the old-format test doesn't hurt it IMO. In a future patch I will possibly be adding some `NewDebugInfoFormat`-specific behaviour, but I think minimising the difference is still worthwhile. What do you think?

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


More information about the llvm-commits mailing list