Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 3619 Build 3619: arc lint + arc unit
Event Timeline
Comment Actions
This should fix the problem in http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/2511/steps/check-llvm%20ubsan/logs/stdio
Comment Actions
I think this is a functional change in that we will emit COFF linker flags in non-COFF objects. An easy fix would be to ask TT what the object format is.
Do you understand why there was a nullptr before?
Comment Actions
Good point on the functional change. I'll implement your suggestion to check TT. I don't know yet why there was a nullptr before; this is intended more as a temporary stopgap for until I figure that out.
Comment Actions
Only call getObjFileLoweringCOFF when we are actually generating for a target that has COFF - if not, we don't need to do anything here.
Nit: if (!TT.isOSBinFormatCOFF())