diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-08-05 23:35:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-05 23:35:22 +0200 |
| commit | 9cb3688f1febd9234d880759ed7cf852015af206 (patch) | |
| tree | 012ca4e24d446b2acbd2853a23a43baee65c7a7d /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 8cbf1c1b229e324d5e25302338672cc8b20bf72e (diff) | |
| parent | b0beb64830b082c78ea5f0b3d69ef2fa880728c4 (diff) | |
| download | rust-9cb3688f1febd9234d880759ed7cf852015af206.tar.gz rust-9cb3688f1febd9234d880759ed7cf852015af206.zip | |
Rollup merge of #128580 - compiler-errors:cfi-param-env, r=lcnr
Use `ParamEnv::reveal_all` in CFI I left a huge comment for why this ICEs in the test I committed. `typeid_for_instance` should only be called on monomorphic instances during codegen, and we should just be using `ParamEnv::reveal_all()` rather than the param-env of the instance itself. I added an assertion to ensure that we only do this for fully substituted instances (this may break with polymorphization, but I kinda don't care lol). Fixes #114160 cc `@rcvalle`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
