commit | c5599f675fb616a08e8f55b3eec79dc643a919c5 | [log] [tgz] |
---|---|---|
author | Adam Nemet <anemet@apple.com> | Wed Oct 04 15:18:11 2017 +0000 |
committer | Adam Nemet <anemet@apple.com> | Wed Oct 04 15:18:11 2017 +0000 |
tree | f58f3ff7665db64f66a9cd7433e92efaa0327f41 | |
parent | af1c4151ad259b3bcb3445ab14523d4d729c8e59 [diff] |
[OptRemark] Move YAML writing to IR Before the patch this was in Analysis. Moving it to IR and making it implicit part of LLVMContext::diagnose allows the full opt-remark facility to be used outside passes e.g. the pass manager. Jessica is planning to use this to report function size after each pass. The same could be used for time reports. Tested with BUILD_SHARED_LIBS=On. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314909 91177308-0d34-0410-b5e6-96231b3b80d8