Provide direct accessors to supplement LLVMSetInstDebugLocation. In addition, properly accept and return the NULL location. The old accessors provided no way to do this, so the current debug location cannot currently be cleared.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm-c/DebugInfo.h | ||
---|---|---|
1206 | What does "consumed" mean here exactly? Aren't metadata owned by the context anyway? |
llvm/include/llvm-c/DebugInfo.h | ||
---|---|---|
1206 | Whoops, I read the std::move in the accessor and figured it would steal the data from the tracking ref. But it appears that is not the case. I'll update this. |
What does "consumed" mean here exactly? Aren't metadata owned by the context anyway?