prevent optimization from discarding metadata

时间:2019-01-09 21:49:44

标签: clang llvm

I add some metadata to the IR file in an EP_EarlyAsPossible pass. However, I find that some of the metadata is discarded. I guess it is due to optimization. Anyway to stop discarding metadata?

0 个答案:

没有答案