yinghuitan marked an inline comment as done.
yinghuitan added inline comments.


================
Comment at: 
lldb/test/Shell/SymbolFile/OnDemand/shared-lib-globals-hydration.test:4
+
+# REQUIRES: system-linux
+
----------------
labath wrote:
> Is this here because there is no portable way to create shared libraries in 
> shell tests? Would it be possible to run this test on other systems as well 
> if this were written as an API test (where we have a shared lib portability 
> layer)?
Yeah, that's one reason. Another reason is the name of the shared library (used 
for checking global variables/debug info) varies across platform. For example, 
it can be libfoo.dylib (Mac) vs libfoo.so (linux) vs *foo*.dll (windows). I 
find it cumbersome to support multiple platforms. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121631

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to