diff options
author | Ed Maste <emaste@freebsd.org> | 2013-07-22 20:20:55 +0000 |
---|---|---|
committer | Ed Maste <emaste@freebsd.org> | 2013-07-22 20:20:55 +0000 |
commit | 7d6753738a0a84fd3c2427fda8daf028687ccaee (patch) | |
tree | 7c8d167e7362f316dae2d1f4645367acb087d5a4 /clang-tools-extra/unittests/cpp11-migrate/FileOverridesTest.cpp | |
parent | b321972fdfdae6fc6818aa66049060d70d5a8fe7 (diff) | |
download | bcm5719-llvm-7d6753738a0a84fd3c2427fda8daf028687ccaee.tar.gz bcm5719-llvm-7d6753738a0a84fd3c2427fda8daf028687ccaee.zip |
elf-core: Run-time reg context selection
Instantiate RegisterContextCore... based on getOS() instead of with
compile-time #ifdef-ery.
The assert()s here are unfortunate, but better than crashing with no
explanation. (This would previously happen for an unsupported
architecture, anyhow.)
We should add an equivalent OS and architecture test to
ProcessElfCore::DoLoadCore() and cleanly report the error to the user.
llvm-svn: 186865
Diffstat (limited to 'clang-tools-extra/unittests/cpp11-migrate/FileOverridesTest.cpp')
0 files changed, 0 insertions, 0 deletions