yonghong-song wrote: sorry, may need another change (basically trying to make -ftrap-function change as later as possible in middle end optimization). https://github.com/llvm/llvm-project/pull/131731