OSDN Git Service

[LLVM-C] Add DIFile Field Accesssors
authorRobert Widmann <devteam.codafi@gmail.com>
Wed, 17 Apr 2019 13:29:14 +0000 (13:29 +0000)
committerRobert Widmann <devteam.codafi@gmail.com>
Wed, 17 Apr 2019 13:29:14 +0000 (13:29 +0000)
commit67f575b6a4f6eb7a058eb8ebed7eabbdb4809899
tree1795546c185dc9f825b0f2fc114b46d9bf36ba5e
parentcd248aacbf298f8a909256d959ca5ca25c97aa4c
[LLVM-C] Add DIFile Field Accesssors

Summary:
Add accessors for the file, directory, source file name (curiously, an `Optional` value?), of a DIFile.

This is intended to replace the LLVMValueRef-based accessors used in D52239

Reviewers: whitequark, jberdine, deadalnix

Reviewed By: whitequark, jberdine

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D60489

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358577 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/DebugInfo.h
lib/IR/DebugInfo.cpp