Lines Matching refs:Subprogram
239 auto *Subprogram = DBuilder.createFunction(
241 OldFunc->setSubprogram(Subprogram);
246 DebugLoc Loc = DebugLoc::get(3, 2, Subprogram);
249 IBuilder.SetCurrentDebugLocation(DebugLoc::get(4, 2, Subprogram));
252 IBuilder.SetCurrentDebugLocation(DebugLoc::get(5, 2, Subprogram));
260 DBuilder.createAutoVariable(Subprogram, "x", File, 5, IntType, true);
261 auto *DL = DILocation::get(Subprogram->getContext(), 5, 0, Subprogram);
299 // Test that a new subprogram entry was added and is pointing to the new
300 // function, while the original subprogram still points to the old one.
301 TEST_F(CloneFunc, Subprogram) {
317 // Test that the new subprogram entry was not added to the CU which doesn't
318 // contain the old subprogram entry.