summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ubsan/ubsan_diag.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ubsan/ubsan_diag.cc b/lib/ubsan/ubsan_diag.cc
index 07d157cee..26f34376f 100644
--- a/lib/ubsan/ubsan_diag.cc
+++ b/lib/ubsan/ubsan_diag.cc
@@ -296,9 +296,9 @@ Diag::~Diag() {
Printf("%s\n", Decor.Default());
- /*if (Loc.isMemoryLocation())
+ if (Loc.isMemoryLocation())
renderMemorySnippet(Decor, Loc.getMemoryLocation(), Ranges,
- NumRanges, Args);*/
+ NumRanges, Args);
}
ScopedReport::ScopedReport(ReportOptions Opts) : Opts(Opts) {