OSDN Git Service

Don't bother creating LabelBegin for .dwo units
authorDavid Blaikie <dblaikie@gmail.com>
Sun, 2 Nov 2014 02:26:24 +0000 (02:26 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sun, 2 Nov 2014 02:26:24 +0000 (02:26 +0000)
commit3ee898c624b9b2869d1e273d12d9bb8728ec236c
treed09d9aa1084f9d22b63c3592149604b797ecd863
parent79e72dd73c2ab13c37c7f21978f21a5479b2a6fa
Don't bother creating LabelBegin for .dwo units

This would help catch cases where we might otherwise try to reference a
dwo CU label, which would be weird - because without relocations in the
dwo file it's not generally meaningful to talk about the CU offsets
there (or, if it is, we can do so in absolute terms without using a
relocation to compute it).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221078 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h