[llvm] [SHT_LLVM_BB_ADDR] Implement ELF and YAML support for Propeller CFG data in PGO analysis map. (PR #164914)
    James Henderson via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Oct 29 01:32:20 PDT 2025
    
    
  
================
@@ -65,8 +68,8 @@ Sections:
                Metadata:      0x00000003
 
 ## Check that yaml2obj generates a warning when we use unsupported feature.
-# RUN: yaml2obj --docnum=2  %s 2>&1 | FileCheck %s --check-prefix=INVALID-FEATURE
-# INVALID-FEATURE: warning: invalid encoding for BBAddrMap::Features: 0xf0
+# RUN: not yaml2obj --docnum=2  %s 2>&1 | FileCheck %s --check-prefix=INVALID-FEATURE
+# INVALID-FEATURE: error: out of range hex8 number
----------------
jh7370 wrote:
Comment says warning but test is checking for an error. Perhaps we should just up the type from hex8 to a larger value now, to preserve the existing more useful warning? I've no objection to keeping it as hex8 though, if you just want to update the comment.
https://github.com/llvm/llvm-project/pull/164914
    
    
More information about the llvm-commits
mailing list