summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-15 01:16:18 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-15 01:16:18 +0000
commitbb61825cd5d87872cb0bf8beb3af15c590e86974 (patch)
tree34990a252e2da06a88ba9fb5f7cb2012dd4f738c /llvm/lib/Object/COFFObjectFile.cpp
parente07140eb3fb5b2d3df2f57cccc633a0d1e21c6f2 (diff)
downloadbcm5719-llvm-bb61825cd5d87872cb0bf8beb3af15c590e86974.tar.gz
bcm5719-llvm-bb61825cd5d87872cb0bf8beb3af15c590e86974.zip
uselistorder: -mllvm -preserve-bc-use-list-order => -emit-llvm-uselists
Stop relying on `cl::opt` to pass along the driver's decision to preserve use-lists. Create a new `-cc1` option called `-emit-llvm-uselists` that does the right thing (when -emit-llvm-bc). Note that despite its generic name, it *doesn't* do the right thing when -emit-llvm (LLVM assembly) yet. I'll hook that up soon. This doesn't really change the behaviour of the driver. The default is still to preserve use-lists for `clang -emit-llvm` and `clang -save-temps`, and nothing else. But it stops relying on global state (and also is a nicer interface for hackers using `clang -cc1`). llvm-svn: 234962
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud