aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/CloneModule.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-05-16 18:26:53 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-05-16 18:26:53 +0000
commit825f487b689baba082248a3b52263c2385744531 (patch)
treef9353ab3d446b628339f470da8f4649cb1669034 /llvm/lib/Transforms/Utils/CloneModule.cpp
parent36132035ca6bb7bfdde8b0c97a4a8ef4d3f11adb (diff)
downloadllvm-825f487b689baba082248a3b52263c2385744531.zip
llvm-825f487b689baba082248a3b52263c2385744531.tar.gz
llvm-825f487b689baba082248a3b52263c2385744531.tar.bz2
DebugInfo: Assume the CU's Subprogram list only contains definitions.
DIBuilder maintains this invariant and the current DwarfDebug code could end up doing weird things if it contained declarations (such as putting the definition DIE inside a CU that contained the declaration - this doesn't seem like a good idea, so rather than adding logic to handle this case we'll just ban in for now & cross that bridge if we come to it later). llvm-svn: 209004
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions