]> granicus.if.org Git - clang/commit
Module Debugging: Use the clang module signature as the module's dwo_id
authorAdrian Prantl <aprantl@apple.com>
Tue, 22 Sep 2015 23:26:43 +0000 (23:26 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 22 Sep 2015 23:26:43 +0000 (23:26 +0000)
commit73315f72a2091910efbe128e1d97e571e8ce17b0
tree1273b8b7715a8e10ed2e0ba9950717cb45931f3a
parent6a9f31e5e3de8998ad3f75d946e163976933114a
Module Debugging: Use the clang module signature as the module's dwo_id
when building a module. Clang already records the module signature when
building a skeleton CU to reference a clang module.

Matching the id in the skeleton with the one in the module allows a DWARF
consumer to verify that they found the correct version of the module
without them needing to know about the clang module format.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@248345 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/PCHContainerOperations.h
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGDebugInfo.h
lib/CodeGen/ObjectFilePCHContainerOperations.cpp
lib/Serialization/GeneratePCH.cpp
test/Modules/DebugInfoTransitiveImport.m
test/Modules/ModuleDebugInfo.cpp
test/Modules/ModuleDebugInfo.m