[PATCH] D124815: [libclang] Fall back to getMainExecutable when dladdr fails

Ayke via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 11 09:46:56 PDT 2022


aykevl added a comment.

This file is also linked to `libclang.a`.

When linking `libclang.a` on Alpine Linux, `dladdr` is not available and the only fallback I can think of is `getMainExecutable`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124815/new/

https://reviews.llvm.org/D124815



More information about the cfe-commits mailing list