mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Convert assert(0) to llvm_unreachable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149849 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -15,18 +15,19 @@
|
||||
#ifndef LLVM_EXECUTION_ENGINE_H
|
||||
#define LLVM_EXECUTION_ENGINE_H
|
||||
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include "llvm/MC/MCCodeGenInfo.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/ADT/ValueMap.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/Support/ValueHandle.h"
|
||||
#include "llvm/Support/Mutex.h"
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "llvm/Target/TargetOptions.h"
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
@ -244,7 +245,8 @@ public:
|
||||
/// to the address in the target process as the running code will see it.
|
||||
/// This is the address which will be used for relocation resolution.
|
||||
virtual void mapSectionAddress(void *LocalAddress, uint64_t TargetAddress) {
|
||||
assert(0 && "Re-mapping of section addresses not supported with this EE!");
|
||||
llvm_unreachable("Re-mapping of section addresses not supported with this "
|
||||
"EE!");
|
||||
}
|
||||
|
||||
/// runStaticConstructorsDestructors - This method is used to execute all of
|
||||
|
Reference in New Issue
Block a user