Пример #1
0
LLVMValueRef LLVMDIBuilderCreateLexicalBlock(LLVMDIBuilderRef Dref,
                                             LLVMValueRef Scope,
                                             LLVMValueRef File, unsigned Line,
                                             unsigned Column) {
  DIBuilder *D = unwrap(Dref);
  DILexicalBlock LB = D->createLexicalBlock(
      unwrapDI<DIDescriptor>(Scope), unwrapDI<DIFile>(File), Line, Column);
  return wrap(LB);
}
Пример #2
0
LLVMMetadataRef LLVMDIBuilderCreateLexicalBlock(LLVMDIBuilderRef Dref,
                                                LLVMMetadataRef Scope,
                                                LLVMMetadataRef File,
                                                unsigned Line,
                                                unsigned Column) {
  DIBuilder *D = unwrap(Dref);
  auto *LB = D->createLexicalBlock(unwrap<DILocalScope>(Scope),
                                   unwrap<DIFile>(File), Line, Column);
  return wrap(LB);
}
Пример #3
0
LLVMValueRef DIBuilderCreateLexicalBlock(LLVMDIBuilderRef dref,
                                         LLVMValueRef diScope,
                                         LLVMValueRef diFile, unsigned line,
                                         unsigned column) {
  DIBuilder *d = unwrap(dref);
  DILexicalBlock lb = d->createLexicalBlock(unwrapDI<DIDescriptor>(diScope),
                                            unwrapDI<DIFile>(diFile), line,
                                            column);
  return wrap(lb);
}
Пример #4
0
LLVMValueRef LLVMDIBuilderCreateLexicalBlock(
  LLVMDIBuilderRef D,
  LLVMValueRef Scope,
  LLVMValueRef File,
  unsigned Line,
  unsigned Column)
{
  DIBuilder *db = unwrap(D);
  DILexicalBlock LB = db->createLexicalBlock(
    unwrapDI<DIDescriptor>(Scope),
    unwrapDI<DIFile>(File),
    Line,
    Column,
    0 /*DWARF Discriminator.  What is that? */ );
  return wrap(LB);
}