Skip to content

Commit e2422be

Browse files
Fix MCCAS, Add variable contents to getFragmentsContents function
1 parent 969dd0e commit e2422be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/MCCAS/MCCASObjectV1.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2869,6 +2869,8 @@ static void getFragmentContents(const MCFragment &Fragment,
28692869
case MCFragment::MCEnumName: { \
28702870
FragContents.append(Fragment.getContents().begin(), \
28712871
Fragment.getContents().end()); \
2872+
FragContents.append(Fragment.getVarContents().begin(), \
2873+
Fragment.getVarContents().end()); \
28722874
\
28732875
return; \
28742876
}

0 commit comments

Comments
 (0)