about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-07-31 23:39:40 +0200
committerGitHub <noreply@github.com>2022-07-31 23:39:40 +0200
commit9cc06eb54d53e9b29d7ddcf3b26274cef335b75b (patch)
tree9bd12b88cfaae3fc36b698e9a5ff4f700b64c3ac /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parente820ecdba115e56d3d1cb0df169463a23a28fabd (diff)
parent6dea21a4a255fc246243fabc54436352b5f12c80 (diff)
downloadrust-9cc06eb54d53e9b29d7ddcf3b26274cef335b75b.tar.gz
rust-9cc06eb54d53e9b29d7ddcf3b26274cef335b75b.zip
Rollup merge of #99620 - hudson-ayers:fix-location-detail, r=davidtwco
`-Z location-detail`: provide option to disable all location details

As reported [here](https://github.com/rust-lang/rust/pull/89920#issuecomment-1190598924), when I first implemented the `-Z location-detail` flag there was a bug, where passing an empty list was not correctly supported, and instead rejected by the compiler. This PR fixes that such that passing an empty list results in no location details being tracked, as originally specified in https://github.com/rust-lang/rfcs/pull/2091 .

This PR also adds a test case to verify that this option continues to work as intended.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions