[PATCH] D140458: [RewriteStatepointsForGC] Remove the hardcoded GC strategy names

Campbell Suter via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 21 00:01:52 PST 2022


znix added a comment.

I'm not sure why the tests are failing? It looks like a linkage issue:

`LLVM ERROR: unsupported GC: statepoint-example (did you remember to link and initialize the library?)`

I'm not sure why this would occur in the tests, but not locally. I built with `BUILD_SHARED_LIBS` which I'm guessing has something to do with it, but `llvm/lib/IR/BuiltinGCs.cpp` (where the statepoint-example GC registration is located) is in LLVMCore so I'd expect it to always be initialised?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140458/new/

https://reviews.llvm.org/D140458



More information about the llvm-commits mailing list