OSDN Git Service

[Debug Info] rename getTypeArray to getElements, setTypeArray to setArrays.
authorManman Ren <manman.ren@gmail.com>
Mon, 28 Jul 2014 19:14:13 +0000 (19:14 +0000)
committerManman Ren <manman.ren@gmail.com>
Mon, 28 Jul 2014 19:14:13 +0000 (19:14 +0000)
commit8e8c1ac702b3ff69da0e30470aeda56c299b27f7
tree5f5076d9b41d640d66df1d2110b25dd80afca5a2
parentf9b5976bbdd897bb49e5486281f0d0bdf6210294
[Debug Info] rename getTypeArray to getElements, setTypeArray to setArrays.

This is the second of a series of patches to handle type uniqueing of the
type array for a subroutine type.

For vector and array types, getElements returns the array of subranges, so it
is a better name than getTypeArray. Even for class, struct and enum types,
getElements returns the members, which can be subprograms.

setArrays can set up to two arrays, the second is the templates.

This commit should have no functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214112 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DebugInfo.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
lib/IR/DebugInfo.cpp
lib/Transforms/Instrumentation/DebugIR.cpp