Use LogHelper::LogLineLowStack instead of LogMessage::LogLine.
The LogLine method is being altered to include LOG_TAG.
Instead of updating the usage here with the new signature, a better match for
ART is selected: LogLineLowStack.
Bug: 35361699
Test: it builds
Change-Id: Ie6c01d3a25b097af693aa56c2e611f5261976fef
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc
index 4248b72..5a2b469 100644
--- a/dex2oat/dex2oat.cc
+++ b/dex2oat/dex2oat.cc
@@ -538,11 +538,8 @@
// it's rather easy to hang in unwinding.
// LogLine also avoids ART logging lock issues, as it's really only a wrapper around
// logcat logging or stderr output.
- android::base::LogMessage::LogLine(__FILE__,
- __LINE__,
- android::base::LogId::DEFAULT,
- LogSeverity::FATAL,
- message.c_str());
+ LogHelper::LogLineLowStack(__FILE__, __LINE__, LogSeverity::FATAL, message.c_str());
+
// If we're on the host, try to dump all threads to get a sense of what's going on. This is
// restricted to the host as the dump may itself go bad.
// TODO: Use a double watchdog timeout, so we can enable this on-device.