这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@fornwall
Copy link
Member

@fornwall fornwall commented Oct 2, 2023

LLVM looks at /proc/self/exe to determine which binary has been called. This does not work with the proposed changes for termux-exec: termux/termux-exec-package#24

Luckily the fallback to look at argv0 works instead.

LLVM looks at /proc/self/exe to determine which binary has been called.
This does not work with the proposed changes for termux-exec:
termux/termux-exec-package#24

Luckily the fallback to look at argv0 works instead.
@Grimler91 Grimler91 force-pushed the llvm-no-proc-self-exe branch from 58a8eec to 3203951 Compare October 2, 2023 21:50
@fornwall fornwall merged commit 710c81c into termux:master Oct 4, 2023
@landfillbaby landfillbaby mentioned this pull request Oct 15, 2023
@landfillbaby
Copy link
Member

what if instead we use the dladdr option further down the file? https://github.com/llvm/llvm-project/blob/llvmorg-17.0.2/llvm/lib/Support/Unix/Path.inc#L320

@fornwall
Copy link
Member Author

@landfillbaby I can try it out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants