NameLen wasn't being used and caused the parameters in gdb to very long, in my case, crashes in others. Please also perform the correct magical incarnations to have this be applied to the LLVM 7 branch.
Details
Details
- Reviewers
whitequark CodaFi - Commits
- rGe89d1857ed35: Merging r340691: --------------------------------------------------------------…
rG106eab029225: [C-API][DIBuilder] Use NameLen in LLVMDIBuilderCreateParameterVariable
rL340724: Merging r340691:
rL340691: [C-API][DIBuilder] Use NameLen in LLVMDIBuilderCreateParameterVariable
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Thanks for catching this! On top of respecting our API contract, it's good to be safe around C strings.