diff options
| author | Jessica Paquette <jpaquette@apple.com> | 2018-06-26 22:09:48 +0000 |
|---|---|---|
| committer | Jessica Paquette <jpaquette@apple.com> | 2018-06-26 22:09:48 +0000 |
| commit | a67abc83b73342fcb0cca58f36273a181273bc0c (patch) | |
| tree | ccff90a6cd96b8f6a8b8b2b3007db1910de5ce9d /llvm/lib/IR/DebugInfoMetadata.cpp | |
| parent | c9e60adcb5ef90312112fb2e866f0880244e545d (diff) | |
| download | bcm5719-llvm-a67abc83b73342fcb0cca58f36273a181273bc0c.tar.gz bcm5719-llvm-a67abc83b73342fcb0cca58f36273a181273bc0c.zip | |
[MachineOutliner] Emit a warning when using -moutline on unsupported targets
Instead of just saying "flag unused", we should tell the user that the
outliner isn't (at least officially) supported for some given architecture.
This adds a warning that will state something like
The 'blah' architecture does not support -moutline; flag ignored
when we call -moutline with the 'blah' architecture.
Since the outliner is still mostly an AArch64 thing, any architecture
other than AArch64 will emit this warning.
llvm-svn: 335672
Diffstat (limited to 'llvm/lib/IR/DebugInfoMetadata.cpp')
0 files changed, 0 insertions, 0 deletions

