diff options
-rw-r--r-- | llvm/lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h b/llvm/lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h index fd7c97bf1f0..fa06f31add9 100644 --- a/llvm/lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h +++ b/llvm/lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h @@ -37,6 +37,8 @@ public: ExceptionsType = ExceptionHandling::DwarfCFI; MinInstAlignment = 8; + DwarfUsesRelocationsAcrossSections = false; + // the default is 4 and it only affects dwarf elf output // so if not set correctly, the dwarf data will be // messed up in random places by 4 bytes. .debug_line |