Skip to content

Commit c4a799b

Browse files
committed
[NFC][hwasan] Use DEBUG_TYPE instead of "hwasan"
1 parent b48ea2d commit c4a799b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ class HWAddressSanitizer {
293293
: M(M), SSI(SSI) {
294294
this->Recover = optOr(ClRecover, Recover);
295295
this->CompileKernel = optOr(ClEnableKhwasan, CompileKernel);
296-
this->Rng =
297-
ClRandomSkipRate.getNumOccurrences() ? M.createRNG("hwasan") : nullptr;
296+
this->Rng = ClRandomSkipRate.getNumOccurrences() ? M.createRNG(DEBUG_TYPE)
297+
: nullptr;
298298

299299
initializeModule();
300300
}

0 commit comments

Comments
 (0)