forked from OSchip/llvm-project
[bpf] fix build
fix build broken due to r233599. Would still need to switch to MDLocation long term. llvm-svn: 233619
This commit is contained in:
parent
cb576ef415
commit
78f99be1df
|
|
@ -63,8 +63,8 @@ public:
|
|||
std::string Str;
|
||||
raw_string_ostream OS(Str);
|
||||
|
||||
if (DLoc.isUnknown() == false) {
|
||||
DILocation DIL(DLoc.getAsMDNode(Fn.getContext()));
|
||||
if (DLoc) {
|
||||
DILocation DIL(DLoc.getAsMDNode());
|
||||
StringRef Filename = DIL.getFilename();
|
||||
unsigned Line = DIL.getLineNumber();
|
||||
unsigned Column = DIL.getColumnNumber();
|
||||
|
|
|
|||
Loading…
Reference in New Issue