amccarth added a comment.

call_foo1() is defined in foo.cpp, which is built into a DLL, and thus needs 
the __declspec(dllimport/dllexport) from the LLDB_TEST_API.  foo.h defines the 
API for the DLL.

call_foo2() is defined in main.cpp, which is built into an executable that 
depends on foo.dll.

lldb-commits mailing list

Reply via email to