diff options
author | Lei Zhang <thestig@chromium.org> | 2018-07-09 18:58:37 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-07-09 18:58:37 +0000 |
commit | 43f6bc80a29fdf326729903e9f323850e9553c69 (patch) | |
tree | 76683eacb9e8992853fea064110d1871b0c97947 /third_party/BUILD.gn | |
parent | 245c7310a74e1ed81c885b3404a8cedf0c58f4b8 (diff) | |
download | pdfium-43f6bc80a29fdf326729903e9f323850e9553c69.tar.xz |
Prevent FX_OutOfMemoryTerminate() from being folded by the linker.
Copy base::debug::Alias() from Chromium. Use it to prevent ICF from
combining FX_OutOfMemoryTerminate() with similar functions.
BUG=chromium:860850
Change-Id: Ifccb05c0218f86e44b9bb235847e01383ec36b3f
Reviewed-on: https://pdfium-review.googlesource.com/37290
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'third_party/BUILD.gn')
-rw-r--r-- | third_party/BUILD.gn | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn index 8b212e1622..847229273e 100644 --- a/third_party/BUILD.gn +++ b/third_party/BUILD.gn @@ -554,6 +554,8 @@ jumbo_source_set("pdfium_base") { "base/base_export.h", "base/bits.h", "base/compiler_specific.h", + "base/debug/alias.cc", + "base/debug/alias.h", "base/logging.h", "base/macros.h", "base/numerics/safe_conversions.h", |