A null MCTargetStreamer allows IRObjectFile to ignore target-specific
directives. Previously we were crashing.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
With this TargetRegistry::RegisterNullStreamer becomes redundant, no? It will always be llvm::createNullStreamer + the new hook.
If so, please add a FIXME about it.
include/llvm/Support/TargetRegistry.h | ||
---|---|---|
465 | nullptr |
Comment Actions
With this TargetRegistry::RegisterNullStreamer becomes redundant, no? It will always be llvm::createNullStreamer + the new hook.
If so, please add a FIXME about it.
Correct. It was simple enough to remove the hook though, which I did in r229799.
include/llvm/Support/TargetRegistry.h | ||
---|---|---|
465 | Done |
nullptr