[PATCH] D54384: [llvm-objcopy] Add --build-id-link-dir flag

Jake Ehrlich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 12 18:13:23 PST 2018


jakehehrlich added a comment.

Not technically something we can't work around, the following code solves my problem now that I understand it.

  Error Err = Error::success();
  if (Err) assert(false); // This only serves to ensure that Err is checked.

This is despite that fact that I check each time before the destructor would be called...I also have to give to the library unchecked as well or else if it assigns an error the program will crash. Will upload change soon.


Repository:
  rL LLVM

https://reviews.llvm.org/D54384





More information about the llvm-commits mailing list