aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2023-09-29 10:33:11 -0700
committerGitHub <noreply@github.com>2023-09-29 10:33:11 -0700
commita514c30a7cf6ea99e5398b695601235b41a43939 (patch)
tree824cd9f292cfeeaab486d9ffb340c22b7e7171f9 /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
parent3661a48a84731ab5086bf1fca8f7e6b9f294225a (diff)
downloadllvm-a514c30a7cf6ea99e5398b695601235b41a43939.zip
llvm-a514c30a7cf6ea99e5398b695601235b41a43939.tar.gz
llvm-a514c30a7cf6ea99e5398b695601235b41a43939.tar.bz2
[lldb] Add windows support for LLDB_EXPORT_ALL_SYMBOLS (#67628)
LLDB_EXPORT_ALL_SYMBOLS is useful when building out-of-tree plugins and extensions that rely on LLDB's internal symbols. For example, this is how the Mojo language provides its REPL and debugger support. Supporting this on windows is kind of tricky because this is normally expected to be done using dllexport/dllimport, but lldb uses these with the public api. This PR takes an approach similar to what LLVM does with LLVM_EXPORT_SYMBOLS_FOR_PLUGINS, and what chromium does for [abseil](https://github.com/chromium/chromium/blob/253d14e20fdc0cab05e5516770dceca18f9bddaf/third_party/abseil-cpp/generate_def_files.py), and uses a python script to extract the necessary symbols by looking at the symbol table for the various lldb libraries.
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
0 files changed, 0 insertions, 0 deletions