Depends on LLVM patch: D46138
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
- Build Status
Buildable 17457 Build 17457: arc lint + arc unit
Event Timeline
lib/CodeGen/CGDebugInfo.cpp | ||
---|---|---|
3023 | Naively it looks like it should be possible to put the local into a scope under the if: if (isa<...>(VD)) { llvm::DINodeArray parameterNodes = CollectVarTemplateParams(VD, &*Unit); templateParameters = parameterNodes.get(); } but you told me this caused crashes. I don't understand that, as templateParameters is itself a formal parameter, so you're really returning the node array to the caller? |
Comment Actions
After some further inspection, support for the LLVM side of patch needs a few significant additions. Abandoning this revision.
Naively it looks like it should be possible to put the local into a scope under the if:
but you told me this caused crashes. I don't understand that, as templateParameters is itself a formal parameter, so you're really returning the node array to the caller?
(My understanding is at least partly hampered by being unable to find the definition of DINodeArray, if somebody can point it out that would be helpful.)