DebugInfo: Remove DIDescriptor from the DebugInfo API
Stop using `DIDescriptor` and its subclasses in the `DebugInfoFinder` API, as well as the rest of the API hanging around in `DebugInfo.h`. llvm-svn: 235240
This commit is contained in:
@@ -89,7 +89,7 @@ namespace {
|
||||
bool doInitialization(CallGraph &CG) override;
|
||||
/// The maximum number of elements to expand, or 0 for unlimited.
|
||||
unsigned maxElements;
|
||||
DenseMap<const Function *, DISubprogram> FunctionDIs;
|
||||
DenseMap<const Function *, MDSubprogram *> FunctionDIs;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -127,7 +127,7 @@ namespace {
|
||||
// As the code generation for module is finished (and DIBuilder is
|
||||
// finalized) we assume that subprogram descriptors won't be changed, and
|
||||
// they are stored in map for short duration anyway.
|
||||
DenseMap<const Function *, DISubprogram> FunctionDIs;
|
||||
DenseMap<const Function *, MDSubprogram *> FunctionDIs;
|
||||
|
||||
protected:
|
||||
// DAH uses this to specify a different ID.
|
||||
|
||||
@@ -248,7 +248,7 @@ class DataFlowSanitizer : public ModulePass {
|
||||
DFSanABIList ABIList;
|
||||
DenseMap<Value *, Function *> UnwrappedFnMap;
|
||||
AttributeSet ReadOnlyNoneAttrs;
|
||||
DenseMap<const Function *, DISubprogram> FunctionDIs;
|
||||
DenseMap<const Function *, MDSubprogram *> FunctionDIs;
|
||||
|
||||
Value *getShadowAddress(Value *Addr, Instruction *Pos);
|
||||
bool isInstrumented(const Function *F);
|
||||
|
||||
Reference in New Issue
Block a user