OSDN Git Service

Merging r340691:
authorHans Wennborg <hans@hanshq.net>
Mon, 27 Aug 2018 08:41:29 +0000 (08:41 +0000)
committerHans Wennborg <hans@hanshq.net>
Mon, 27 Aug 2018 08:41:29 +0000 (08:41 +0000)
commit4a4bff54966e7902629a66835292356064322de6
tree0a821a63526514fea46746da8234e1f949c5b9d6
parent9df0977d9409b093156ebbd8e1ac99bc32b9eb39
Merging r340691:
------------------------------------------------------------------------
r340691 | codafi | 2018-08-25 21:54:39 +0200 (Sat, 25 Aug 2018) | 11 lines

[C-API][DIBuilder] Use NameLen in LLVMDIBuilderCreateParameterVariable

Summary: 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.

Reviewers: whitequark, CodaFi

Reviewed By: CodaFi

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D51141
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@340724 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/DebugInfo.cpp