OSDN Git Service

Verifier: Reject any unknown named MD nodes in the llvm.dbg namespace.
authorAdrian Prantl <aprantl@apple.com>
Wed, 5 Oct 2016 22:15:37 +0000 (22:15 +0000)
committerAdrian Prantl <aprantl@apple.com>
Wed, 5 Oct 2016 22:15:37 +0000 (22:15 +0000)
commit3d7360fb8aa5773936a05f72df651ba50b489fd5
treea81e9d80f404f1955c1a8d9f72a739962bf93746
parent5f1ad48020b0e295972efb6c6d24c4a3cdf71300
Verifier: Reject any unknown named MD nodes in the llvm.dbg namespace.

This came out of a discussion in https://reviews.llvm.org/D25285.

There used to be various other llvm.dbg.* nodes, but we don't support
upgrading them and we want to reserve the namespace for future uses.

This also removes an entirely obsolete and bitrotted testcase for PR7662.

Reapplies 283390 with a forgotten testcase.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283400 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Verifier.cpp
test/CodeGen/X86/2010-06-01-DeadArg-DbgInfo.ll
test/DebugInfo/Generic/2010-07-19-Crash.ll [deleted file]
test/Verifier/dbg-invalid-named-metadata.ll [new file with mode: 0644]