[llvm] [CFI][annotation] Leave alone function pointers in function annotations (PR #80173)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 2 06:52:25 PST 2024


================
@@ -0,0 +1,112 @@
+; RUN: opt %s -o %t.bc
+; RUN: llvm-lto2 run %t.bc -r %t.bc,bar,px -r %t.bc,foo,px -r %t.bc,test,px \
+; RUN: -r %t.bc,fptr1,px -r %t.bc,fptr2,px -save-temps -o %t.o
+; RUN: llvm-dis %t.*.opt.bc
----------------
nikic wrote:

Is it possible to test this directly using `opt -passes=lowertypetests`, instead of going through llvm-lto2? Similar to all the other tests in llvm/test/Transforms/LowerTypeTests.

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


More information about the llvm-commits mailing list