]> granicus.if.org Git - clang/commit
Temporarily make discard value names depend on whether or not we're
authorEric Christopher <echristo@gmail.com>
Mon, 14 Mar 2016 08:10:47 +0000 (08:10 +0000)
committerEric Christopher <echristo@gmail.com>
Mon, 14 Mar 2016 08:10:47 +0000 (08:10 +0000)
commit2867db529d8d9fb929fc898f8c5b47f952940646
tree34633175afd636d2db767eb736758239b4fa1e79
parentcff683b2bb870b24c4394780bbae534521e8c7a2
Temporarily make discard value names depend on whether or not we're
trying to track origins in the memory sanitizer since the backend
instrumentation pass currently takes names from the Instruction.

Fixes all of the origin tracking tests in compiler-rt after the
-discard-value-name option was added.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@263412 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/CompilerInvocation.cpp