[llvm] [LLVM] Parametrize hardcoded behaviors in diagnostics error handling. (PR #156439)
    Manuel Carrasco via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Sep 22 03:02:39 PDT 2025
    
    
  
mgcarrasco wrote:
@arsenm Thanks for the feedback! My main goal is to **optionally** generate a stack trace for diagnostics errors. This is key for fuzzing in order to deduplicate test cases based on the similarity of their stack traces. This PR gives us such option.
I'm trying to understand/find concrete cases where opt may behave like llc as it was mentioned. I couldn't find cases of `diagnose()` or `emitError()` calls in IR-related files (`llvm/lib/IR`) that are called by opt. Would you have any example at hand?
https://github.com/llvm/llvm-project/pull/156439
    
    
More information about the llvm-commits
mailing list