llvm-objcopy-1.patch 1.1 KB

12345678910111213141516171819202122232425262728
  1. From a495c9ae6fb3367e6b59d8d245273ed3669754f0 Mon Sep 17 00:00:00 2001
  2. From: Martin Storsjo <martin@martin.st>
  3. Date: Sat, 19 Jan 2019 19:42:23 +0000
  4. Subject: [PATCH] [llvm-objcopy] [COFF] Remove a superfluous namespace
  5. qualification. NFC.
  6. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351658 91177308-0d34-0410-b5e6-96231b3b80d8
  7. ---
  8. tools/llvm-objcopy/COFF/COFFObjcopy.cpp | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. diff --git a/llvm/tools/llvm-objcopy/COFF/COFFObjcopy.cpp b/llvm/tools/llvm-objcopy/COFF/COFFObjcopy.cpp
  11. index ceebf600b3a..437dccbd3d5 100644
  12. --- a/llvm/tools/llvm-objcopy/COFF/COFFObjcopy.cpp
  13. +++ b/llvm/tools/llvm-objcopy/COFF/COFFObjcopy.cpp
  14. @@ -78,7 +78,7 @@ static Error handleArgs(const CopyConfig &Config, Object &Obj) {
  15. }
  16. void executeObjcopyOnBinary(const CopyConfig &Config,
  17. - object::COFFObjectFile &In, Buffer &Out) {
  18. + COFFObjectFile &In, Buffer &Out) {
  19. COFFReader Reader(In);
  20. Expected<std::unique_ptr<Object>> ObjOrErr = Reader.create();
  21. if (!ObjOrErr)
  22. --
  23. 2.17.1