summaryrefslogtreecommitdiff
path: root/linker/linker.cpp
diff options
context:
space:
mode:
authorKiyoung Kim <kiyoungkim@google.com>2019-12-16 19:38:33 +0900
committerKiyoung Kim <kiyoungkim@google.com>2019-12-17 13:59:57 +0900
commit19f95dd872275087a48e5f4636bc7273aef4685b (patch)
tree01ad17cc40b9e01c7d4cac402c013afe86337730 /linker/linker.cpp
parent5761dd85b6efbc72449e2fe578486d189ccc9dec (diff)
Do not DL_WARN when failed to find generated linker config
DL_WARN message when failed to find generated linker config makes some of the ART tests fail. Lowering log level as ART test does not have linkerconfig generated for the test. Bug: 146386369 Test: Cuttlefish boot succeeded without any error Test: run_build_test_target.py art-linux-bionic-x64-zipapex passed Change-Id: I4f876c3ac5c30d32d51346d4cd16b5205da8f1bf
Diffstat (limited to 'linker/linker.cpp')
-rw-r--r--linker/linker.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp
index a3bd9641e..fb22a1d79 100644
--- a/linker/linker.cpp
+++ b/linker/linker.cpp
@@ -4093,8 +4093,9 @@ static std::string get_ld_config_file_path(const char* executable_path) {
if (file_exists(kLdGeneratedConfigFilePath)) {
return kLdGeneratedConfigFilePath;
} else {
- DL_WARN("Warning: failed to find generated linker configuration from \"%s\"",
- kLdGeneratedConfigFilePath);
+ // TODO(b/146386369) : Adjust log level and add more condition to log only when necessary
+ INFO("Warning: failed to find generated linker configuration from \"%s\"",
+ kLdGeneratedConfigFilePath);
}
}