Accept getelementptr starting at GV with all 0 indices as a
authorDale Johannesen <dalej@apple.com>
Wed, 30 Jan 2008 19:00:21 +0000 (19:00 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 30 Jan 2008 19:00:21 +0000 (19:00 +0000)
commit7757fff6aebdca376a46412c8dfb3fab7d8ad411
treec9764fb99093bfbf546adbc8ab370aa417c16617
parentc60141ba4345b1c8db0f518380ca84d9797eb1d9
Accept getelementptr starting at GV with all 0 indices as a
legitimate way of representing global variable GV in debug info.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46565 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineModuleInfo.cpp
test/DebugInfo/globalGetElementPtr.ll [new file with mode: 0644]