Skip to content

Commit

Permalink
[NFC][hwasan] Use DEBUG_TYPE instead of "hwasan"
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Apr 20, 2024
1 parent b48ea2d commit c4a799b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ class HWAddressSanitizer {
: M(M), SSI(SSI) {
this->Recover = optOr(ClRecover, Recover);
this->CompileKernel = optOr(ClEnableKhwasan, CompileKernel);
this->Rng =
ClRandomSkipRate.getNumOccurrences() ? M.createRNG("hwasan") : nullptr;
this->Rng = ClRandomSkipRate.getNumOccurrences() ? M.createRNG(DEBUG_TYPE)
: nullptr;

initializeModule();
}
Expand Down

0 comments on commit c4a799b

Please sign in to comment.