[COFF] Add IMAGE_SCN_TYPE_NOLOAD to SectionCharacteristics
[oota-llvm.git] / lib / Object / Object.cpp
index c7d91bcea3e3ec2976f3d3b9946f50c81d62b234..5c4b7a67b2ad0e763d43ae13b3cdf8ae44ba44de 100644 (file)
@@ -191,13 +191,6 @@ uint64_t LLVMGetSymbolSize(LLVMSymbolIteratorRef SI) {
 }
 
 // RelocationRef accessors
-uint64_t LLVMGetRelocationAddress(LLVMRelocationIteratorRef RI) {
-  ErrorOr<uint64_t> Ret = (*unwrap(RI))->getAddress();
-  if (std::error_code EC = Ret.getError())
-    report_fatal_error(EC.message());
-  return *Ret;
-}
-
 uint64_t LLVMGetRelocationOffset(LLVMRelocationIteratorRef RI) {
   return (*unwrap(RI))->getOffset();
 }