mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-12 01:25:10 +00:00
IR: Assembly and bitcode for GenericDebugNode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228041 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -284,7 +284,7 @@ static bool isIntOrIntVectorValue(const std::pair<const Value*, unsigned> &V) {
|
||||
}
|
||||
|
||||
ValueEnumerator::ValueEnumerator(const Module &M)
|
||||
: HasMDString(false), HasMDLocation(false) {
|
||||
: HasMDString(false), HasMDLocation(false), HasGenericDebugNode(false) {
|
||||
if (shouldPreserveBitcodeUseListOrder())
|
||||
UseListOrders = predictUseListOrder(M);
|
||||
|
||||
@@ -544,6 +544,7 @@ void ValueEnumerator::EnumerateMetadata(const Metadata *MD) {
|
||||
|
||||
HasMDString |= isa<MDString>(MD);
|
||||
HasMDLocation |= isa<MDLocation>(MD);
|
||||
HasGenericDebugNode |= isa<GenericDebugNode>(MD);
|
||||
|
||||
// Replace the dummy ID inserted above with the correct one. MDValueMap may
|
||||
// have changed by inserting operands, so we need a fresh lookup here.
|
||||
|
Reference in New Issue
Block a user