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-02-08 16:40:49 +0100
committerGitHub <noreply@github.com>2022-02-08 16:40:49 +0100
commit9cb39a6083c34f2266ec4f2235deda7bdab60b06 (patch)
tree7bbf7f516e7c9f3318828c4856e9cf5c7729ce88 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parenta11e2b1f755e392e7c776b98e76aa86a30b7b22e (diff)
parentac02fcc4d8b5cc0f1d727b30f8f2142dc9bacc8e (diff)
downloadrust-9cb39a6083c34f2266ec4f2235deda7bdab60b06.tar.gz
rust-9cb39a6083c34f2266ec4f2235deda7bdab60b06.zip
Rollup merge of #93206 - ChrisDenton:ntopenfile, r=nagisa
Use `NtCreateFile` instead of `NtOpenFile` to open a file

Generally the internal `Nt*` functions should be avoided but when we do need to use one we should stick to the most commonly used for the job. To that end, this PR replaces `NtOpenFile` with `NtCreateFile`.

NOTE: The initial version of this comment hypothesised that this may help with some recent false positives from malware scanners. This hypothesis proved wrong. Sorry for the distraction.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions