]> granicus.if.org Git - clang/commit
When building the alloca for a local variable, set its name
authorJohn McCall <rjmccall@apple.com>
Tue, 8 Sep 2015 09:18:30 +0000 (09:18 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 8 Sep 2015 09:18:30 +0000 (09:18 +0000)
commitc7681e6d9fcd285a93da34ad795a89ee58a754b4
tree1d951f8313fb5148eb7137b988283f194e0a3fa1
parent0402dc0e9a31b56d92b63edca0748e4ff01bba79
When building the alloca for a local variable, set its name
separately from building the instruction so that it's
preserved even in -Asserts builds.

Employ C++'s mystical "comment" feature to discourage
breaking this in the future.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246991 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDecl.cpp