summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2020-12-08 14:26:21 -0800
committerPeter Collingbourne <pcc@google.com>2020-12-08 14:40:30 -0800
commit9397bdd13f8e54855d0cda2a150c1bca98126a86 (patch)
treecfb4fd2072d2938f1e3a764c9b5f89956f4bba79 /libc/malloc_hooks/malloc_hooks.cpp
parent1e32ae2da25876a64f6f69a802c7fa2c290fcc00 (diff)
Make our definition of std::nothrow weak.
We can sometimes fail to link a static executable because of duplicate definitions of std::nothrow in bionic/libc/bionic/new.cpp and external/libcxx/src/new.cpp. Fix it by making our definition weak since it doesn't matter which one ends up being chosen. Change-Id: Iec02ae89f4a3d2ffe298817240f404e54b109a52
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions