File tree Expand file tree Collapse file tree
aosp_diff/preliminary/bionic Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ From 16e41b6af775171557e675625ba13fb8892b2498 Mon Sep 17 00:00:00 2001
2+ From: Ravi Kumar Soni <ravi.kumar.soni@intel.com>
3+ Date: Tue, 25 Mar 2025 13:52:30 +0000
4+ Subject: [PATCH] linker debug log
5+
6+ Signed-off-by: Ravi Kumar Soni <ravi.kumar.soni@intel.com>
7+ ---
8+ linker/linker.cpp | 2 ++
9+ 1 file changed, 2 insertions(+)
10+
11+ diff --git a/linker/linker.cpp b/linker/linker.cpp
12+ index bcc25000f..adbab5ad4 100644
13+ --- a/linker/linker.cpp
14+ +++ b/linker/linker.cpp
15+ @@ -3489,6 +3489,8 @@ static std::string get_ld_config_file_path(const char* executable_path) {
16+ #ifdef USE_LD_CONFIG_FILE
17+ // This is a debugging/testing only feature. Must not be available on
18+ // production builds.
19+ + static_assert(false, "USE_LD_CONFIG_FILE is not supported");
20+ + __linker_log(ANDROID_LOG_INFO, "rks_log in #ifdef USE_LD_CONFIG_FILE");
21+ const char* ld_config_file_env = getenv("LD_CONFIG_FILE");
22+ if (ld_config_file_env != nullptr && file_exists(ld_config_file_env)) {
23+ return ld_config_file_env;
24+ - -
25+ 2.34.1
26+
You can’t perform that action at this time.
0 commit comments