Skip to content

Commit 75a0153

Browse files
author
Richard Patel
committed
[SOL] re-enable debug info on SBF
1 parent 321d9c0 commit 75a0153

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/BPF/BPFTargetMachine.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ BPFTargetMachine::BPFTargetMachine(const Target &T, const Triple &TT,
8383
BPFMCAsmInfo *MAI =
8484
static_cast<BPFMCAsmInfo *>(const_cast<MCAsmInfo *>(AsmInfo.get()));
8585
MAI->setDwarfUsesRelocationsAcrossSections(!Subtarget.getUseDwarfRIS());
86-
bool IsSolana = TT.getArch() == Triple::sbf || FS.contains("solana");
87-
MAI->setSupportsDebugInformation(!IsSolana);
86+
MAI->setSupportsDebugInformation(true);
8887
}
8988

9089
namespace {

0 commit comments

Comments
 (0)