diff options
| author | Lang Hames <lhames@gmail.com> | 2023-05-08 23:25:30 -0700 |
|---|---|---|
| committer | Lang Hames <lhames@gmail.com> | 2023-05-09 22:50:39 -0700 |
| commit | cf4477dec11bfda048918d2ec49f04e0794c8030 (patch) | |
| tree | 41afc567ba333412b82716ec66b47f0ba3e0fe4d /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
| parent | c582146a491aa669b0f9b7ca63ca07d5fb021033 (diff) | |
| download | llvm-cf4477dec11bfda048918d2ec49f04e0794c8030.zip llvm-cf4477dec11bfda048918d2ec49f04e0794c8030.tar.gz llvm-cf4477dec11bfda048918d2ec49f04e0794c8030.tar.bz2 | |
[lli] Improve support for MinGW by implementing __main as a no-op.
Without this function lli will error out on MinGW with a missing symbol error
for __main.
Cygwin and MinGW insert calls from the main function to the runtime function
__main. The __main function is responsible for setting up main's environment
(e.g. running static constructors), however this is not needed when running
under lli: the executor process will have run non-JIT ctors, and ORC will take
care of running JIT'd ctors. To avoid a missing symbol error we just implement
__main as a no-op.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions
