https://github.com/ChuanqiXu9 commented:

Looks not bad. Just two questions:

1. With -fmodules-debuginfo, `shouldEmitInExternalSource` will return true. So 
i think it will emit the debug info file but not the object file, right? I am 
wondering if it is better to make `shouldEmitInExternalSource`  to return true 
for such cases?
2. Does -fmodules-debuginfo work for C++20 modules? Or should it ?

https://github.com/llvm/llvm-project/pull/204662
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to