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
- rL LLVM
Event Timeline
llvm/include/llvm-c/DebugInfo.h | ||
---|---|---|
1206 ↗ | (On Diff #194387) | What does "consumed" mean here exactly? Aren't metadata owned by the context anyway? |
llvm/include/llvm-c/DebugInfo.h | ||
---|---|---|
1206 ↗ | (On Diff #194387) | 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. |