Commit 6ce4b219 authored by Peter Collingbourne's avatar Peter Collingbourne Committed by Commit Bot

content: Make the ASan debug URLs available under HWASan as well.

Bug: 916828
Change-Id: I62582adf66fba07ebda6bda9980925ed515fb9dd
Reviewed-on: https://chromium-review.googlesource.com/c/1475169Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Reviewed-by: default avatarJohn Abd-El-Malek <jam@chromium.org>
Commit-Queue: Peter Collingbourne <pcc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#632786}
parent 23d73f59
......@@ -10,6 +10,7 @@
#include "base/command_line.h"
#include "base/debug/asan_invalid_access.h"
#include "base/debug/profiler.h"
#include "base/sanitizer_buildflags.h"
#include "base/strings/utf_string_conversions.h"
#include "base/synchronization/waitable_event.h"
#include "base/task/post_task.h"
......@@ -93,7 +94,7 @@ bool IsAsanDebugURL(const GURL& url) {
}
bool HandleAsanDebugURL(const GURL& url) {
#if defined(ADDRESS_SANITIZER)
#if defined(ADDRESS_SANITIZER) || BUILDFLAG(IS_HWASAN)
#if defined(OS_WIN)
if (url.path_piece() == kAsanCorruptHeapBlock) {
base::debug::AsanCorruptHeapBlock();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment