summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Transforms
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-12-22 12:54:06 -0800
committerReid Kleckner <rnk@google.com>2019-12-22 12:54:06 -0800
commit891e25b02d760d0de18c7d46947913b3166047e7 (patch)
treef56319831a7d139cf4b8a395aa3eb4bb55e33eaf /llvm/unittests/Transforms
parent79cc9e9b304a90598e8def4c8b5354d1f99186eb (diff)
downloadbcm5719-llvm-891e25b02d760d0de18c7d46947913b3166047e7.tar.gz
bcm5719-llvm-891e25b02d760d0de18c7d46947913b3166047e7.zip
Revert "[DebugInfo] Support to emit debugInfo for extern variables"
This reverts commit d77ae1552fc21a9f3877f3ed7e13d631f517c825. The tests committed along with this change do not pass, and should be changed to use %clang_cc1.
Diffstat (limited to 'llvm/unittests/Transforms')
-rw-r--r--llvm/unittests/Transforms/Utils/CloningTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Transforms/Utils/CloningTest.cpp b/llvm/unittests/Transforms/Utils/CloningTest.cpp
index 28ad4bc8807..3d0bd10e87a 100644
--- a/llvm/unittests/Transforms/Utils/CloningTest.cpp
+++ b/llvm/unittests/Transforms/Utils/CloningTest.cpp
@@ -764,7 +764,7 @@ protected:
DBuilder.createGlobalVariableExpression(
Subprogram, "unattached", "unattached", File, 1,
- DBuilder.createNullPtrType(), false, true, Expr);
+ DBuilder.createNullPtrType(), false, Expr);
auto *Entry = BasicBlock::Create(C, "", F);
IBuilder.SetInsertPoint(Entry);
OpenPOWER on IntegriCloud