[llvm] Revert "[CFI] Create an external linkage alias instead of promoting i… (PR #220339)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 1 17:51:09 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `ml-opt-rel-x86-64` running on `ml-opt-rel-x86-64-b1` while building `llvm` at step 5 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/185/builds/2066

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/mlgo-emitc.sh --jobs=64' (failure)
...
PASS: LLVM :: Transforms/InstSimplify/freeze-noundef.ll (47772 of 67297)
PASS: LLVM :: Transforms/InstCombine/hoist-xor-by-constant-from-xor-by-value.ll (47773 of 67297)
PASS: LLVM :: Transforms/VectorCombine/X86/pr126085.ll (47774 of 67297)
PASS: LLVM :: Transforms/InstSimplify/abs_intrinsic.ll (47775 of 67297)
PASS: LLVM :: Instrumentation/AddressSanitizer/instrument-section-invalid-c-ident.ll (47776 of 67297)
PASS: LLVM-Unit :: Frontend/./LLVMFrontendTests/28/42 (47777 of 67297)
PASS: LLVM :: CodeGen/AVR/intrinsics/stacksave-restore.ll (47778 of 67297)
PASS: LLVM :: Transforms/GVN/svcount-access.ll (47779 of 67297)
PASS: LLVM :: Transforms/IndVarSimplify/tripcount_infinite.ll (47780 of 67297)
PASS: LLVM :: Transforms/SLPVectorizer/X86/bottom-to-top-reorder.ll (47781 of 67297)
FAIL: LLVM :: Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll (47782 of 67297)
******************** TEST 'LLVM :: Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 6
/b/build/llvm-project/build-mlgo/bin/opt -thinlto-bc -thinlto-split-lto-unit -o /b/build/llvm-project/build-mlgo/test/Transforms/ThinLTOBitcodeWriter/Output/cfi_dso_local_equivalent.ll.tmp /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# executed command: /b/build/llvm-project/build-mlgo/bin/opt -thinlto-bc -thinlto-split-lto-unit -o /b/build/llvm-project/build-mlgo/test/Transforms/ThinLTOBitcodeWriter/Output/cfi_dso_local_equivalent.ll.tmp /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# RUN: at line 7
/b/build/llvm-project/build-mlgo/bin/llvm-modextract -b -n 0 -o - /b/build/llvm-project/build-mlgo/test/Transforms/ThinLTOBitcodeWriter/Output/cfi_dso_local_equivalent.ll.tmp | /b/build/llvm-project/build-mlgo/bin/llvm-dis | /b/build/llvm-project/build-mlgo/bin/FileCheck --check-prefix=M0 /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# executed command: /b/build/llvm-project/build-mlgo/bin/llvm-modextract -b -n 0 -o - /b/build/llvm-project/build-mlgo/test/Transforms/ThinLTOBitcodeWriter/Output/cfi_dso_local_equivalent.ll.tmp
# executed command: /b/build/llvm-project/build-mlgo/bin/llvm-dis
# executed command: /b/build/llvm-project/build-mlgo/bin/FileCheck --check-prefix=M0 /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# .---command stderr------------
# | /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll:13:7: error: M0: expected string not found in input
# | ; M0: @f.{{[0-9a-f]+}} = hidden alias ptr, ptr @f
# |       ^
# | <stdin>:9:78: note: scanning from here
# | @vtable.61b17fea1cac8585b7466274677b349b = external hidden constant [1 x ptr], !guid !0
# |                                                                              ^
# | <stdin>:22:12: note: possible intended match here
# | !1 = !{i32 1, !"EnableSplitLTOUnit", i32 1}
# |            ^
# | 
# | Input file: <stdin>
# | Check file: /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ; ModuleID = '<stdin>' 
# |             2: source_filename = "/b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll" 
# |             3: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" 
# |             4: target triple = "x86_64-unknown-linux-gnu" 
# |             5:  
# |             6: module asm 
# |             7:  ".lto_set_conditional f,f.61b17fea1cac8585b7466274677b349b" 
Step 8 (Run tests) failure: Run tests (failure)
...
PASS: LLVM :: Transforms/InstSimplify/freeze-noundef.ll (47772 of 67297)
PASS: LLVM :: Transforms/InstCombine/hoist-xor-by-constant-from-xor-by-value.ll (47773 of 67297)
PASS: LLVM :: Transforms/VectorCombine/X86/pr126085.ll (47774 of 67297)
PASS: LLVM :: Transforms/InstSimplify/abs_intrinsic.ll (47775 of 67297)
PASS: LLVM :: Instrumentation/AddressSanitizer/instrument-section-invalid-c-ident.ll (47776 of 67297)
PASS: LLVM-Unit :: Frontend/./LLVMFrontendTests/28/42 (47777 of 67297)
PASS: LLVM :: CodeGen/AVR/intrinsics/stacksave-restore.ll (47778 of 67297)
PASS: LLVM :: Transforms/GVN/svcount-access.ll (47779 of 67297)
PASS: LLVM :: Transforms/IndVarSimplify/tripcount_infinite.ll (47780 of 67297)
PASS: LLVM :: Transforms/SLPVectorizer/X86/bottom-to-top-reorder.ll (47781 of 67297)
FAIL: LLVM :: Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll (47782 of 67297)
******************** TEST 'LLVM :: Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 6
/b/build/llvm-project/build-mlgo/bin/opt -thinlto-bc -thinlto-split-lto-unit -o /b/build/llvm-project/build-mlgo/test/Transforms/ThinLTOBitcodeWriter/Output/cfi_dso_local_equivalent.ll.tmp /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# executed command: /b/build/llvm-project/build-mlgo/bin/opt -thinlto-bc -thinlto-split-lto-unit -o /b/build/llvm-project/build-mlgo/test/Transforms/ThinLTOBitcodeWriter/Output/cfi_dso_local_equivalent.ll.tmp /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# RUN: at line 7
/b/build/llvm-project/build-mlgo/bin/llvm-modextract -b -n 0 -o - /b/build/llvm-project/build-mlgo/test/Transforms/ThinLTOBitcodeWriter/Output/cfi_dso_local_equivalent.ll.tmp | /b/build/llvm-project/build-mlgo/bin/llvm-dis | /b/build/llvm-project/build-mlgo/bin/FileCheck --check-prefix=M0 /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# executed command: /b/build/llvm-project/build-mlgo/bin/llvm-modextract -b -n 0 -o - /b/build/llvm-project/build-mlgo/test/Transforms/ThinLTOBitcodeWriter/Output/cfi_dso_local_equivalent.ll.tmp
# executed command: /b/build/llvm-project/build-mlgo/bin/llvm-dis
# executed command: /b/build/llvm-project/build-mlgo/bin/FileCheck --check-prefix=M0 /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# .---command stderr------------
# | /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll:13:7: error: M0: expected string not found in input
# | ; M0: @f.{{[0-9a-f]+}} = hidden alias ptr, ptr @f
# |       ^
# | <stdin>:9:78: note: scanning from here
# | @vtable.61b17fea1cac8585b7466274677b349b = external hidden constant [1 x ptr], !guid !0
# |                                                                              ^
# | <stdin>:22:12: note: possible intended match here
# | !1 = !{i32 1, !"EnableSplitLTOUnit", i32 1}
# |            ^
# | 
# | Input file: <stdin>
# | Check file: /b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ; ModuleID = '<stdin>' 
# |             2: source_filename = "/b/build/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/cfi_dso_local_equivalent.ll" 
# |             3: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" 
# |             4: target triple = "x86_64-unknown-linux-gnu" 
# |             5:  
# |             6: module asm 
# |             7:  ".lto_set_conditional f,f.61b17fea1cac8585b7466274677b349b" 

```

</details>

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


More information about the llvm-commits mailing list