about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-13 08:11:16 +0100
committerGitHub <noreply@github.com>2022-01-13 08:11:16 +0100
commitc7ada001ec10f7702d98af70d3b8dffabb990f5f (patch)
tree3a4078f5f8f78a160568497aabe87ea833532e47 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent256721ee519f6ff15dc5c1cfaf3ebf9af75efa4a (diff)
parentcf36c21b289b020ef42dba1e02350672c904ad4a (diff)
downloadrust-c7ada001ec10f7702d98af70d3b8dffabb990f5f.tar.gz
rust-c7ada001ec10f7702d98af70d3b8dffabb990f5f.zip
Rollup merge of #90001 - Fearyncess:master, r=alexcrichton
Make rlib metadata strip works with MIPSr6 architecture

Because MIPSr6 has many differences with previous MIPSr2 arch, the previous rlib metadata stripping code in `rustc_codegen_ssa` is only for MIPSr2/r3/r5 (which share the same elf e_flags).

This commit fixed this problem. It makes `rustc_codegen_ssa` happy when compiling rustc for MIPSr6 target or hosts.

e_flags REF: https://github.com/llvm/llvm-project/blob/e356027016c6365b3d8924f54c33e2c63d931492/llvm/include/llvm/BinaryFormat/ELF.h#L562
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions