mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-02 10:33:53 +00:00
[bpf] fix build
fix build broken due to r233599. Would still need to switch to MDLocation long term. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233619 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
910e36d7bc
commit
adb58c18f5
@ -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…
x
Reference in New Issue
Block a user