jasonmolenda wrote:

Aha, I see.  Any call to llvm's `setObjectFormat` is going to add this to the 
triple string if there is no environ set:

```
   1608 void Triple::setObjectFormat(ObjectFormatType Kind) {
   1609   if (Environment == UnknownEnvironment)
-> 1610     return setEnvironmentName(getObjectFormatTypeName(Kind));
   1611 
   1612   setEnvironmentName((getEnvironmentTypeName(Environment) + Twine("-") +
   1613                       getObjectFormatTypeName(Kind)).str());
   1614 }
```

Well that's not great.  I really don't want `-macho` in our triples, it looks 
terrible.

https://github.com/llvm/llvm-project/pull/142704
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to